silas to Lemmy App Development @lemm.eeEnglish · edit-21 year ago[SOLVED] How do you figure out if a user is a community moderator? The admin property is included in the creator in the post view, but not seeing anything like "mod" or related.message-squaremessage-square3fedilinkarrow-up18arrow-down10
arrow-up18arrow-down1message-square[SOLVED] How do you figure out if a user is a community moderator? The admin property is included in the creator in the post view, but not seeing anything like "mod" or related.silas to Lemmy App Development @lemm.eeEnglish · edit-21 year agomessage-square3fedilink
minus-squarenmtake@lemm.eelinkfedilinkEnglisharrow-up2·1 year agoI’d call getPersonDetails, getPost or getCommunity then check moderators attribute.
minus-squaresilasOPlinkfedilinkEnglisharrow-up3·1 year agoAh, that’ll work just fine since I’m already calling getCommunity, thanks! Would be convenient if it was provided in getPosts though
minus-squarePrefix@lemm.eeMlinkfedilinkEnglisharrow-up2·1 year agoAgreed - I wish this data was passed along in the standard comment/post response!
I’d call getPersonDetails, getPost or getCommunity then check
moderators
attribute.Ah, that’ll work just fine since I’m already calling getCommunity, thanks! Would be convenient if it was provided in getPosts though
Agreed - I wish this data was passed along in the standard comment/post response!