mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-31 18:05:22 +00:00
Comments
This commit is contained in:
1 parent
292fa6fd8f
commit
77e7eff437
1 file changed
+4
@@ -327,6 +327,10 @@ def _getEditIconHtml(baseDir: str, nickname: str, domainFull: str,
|
||||
"""
|
||||
editStr = ''
|
||||
actor = postJsonObject['actor']
|
||||
# This should either be a post which you created,
|
||||
# or it could be generated from the newswire (see
|
||||
# _addBlogsToNewswire) in which case anyone with
|
||||
# editor status should be able to alter it
|
||||
if (actor.endswith('/' + domainFull + '/users/' + nickname) or
|
||||
(isEditor(baseDir, nickname) and
|
||||
actor.endswith('/' + domainFull + '/users/news'))):
|
||||
|
||||
Reference in new issue
Block a user