mirror of https://gitlab.com/bashrc2/epicyon
Preceding slash
parent
41045ba673
commit
5d54d0131f
|
@ -327,9 +327,9 @@ def _getEditIconHtml(baseDir: str, nickname: str, domainFull: str,
|
|||
"""
|
||||
editStr = ''
|
||||
actor = postJsonObject['actor']
|
||||
if (actor.endswith(domainFull + '/users/' + nickname) or
|
||||
if (actor.endswith('/' + domainFull + '/users/' + nickname) or
|
||||
(isEditor(baseDir, nickname) and
|
||||
actor.endswith(domainFull + '/users/news'))):
|
||||
actor.endswith('/' + domainFull + '/users/news'))):
|
||||
|
||||
postId = postJsonObject['object']['id']
|
||||
|
||||
|
|
Loading…
Reference in New Issue