forked from indymedia/epicyon
Default nickname for single user instance
parent
d22faa6f38
commit
54cac45766
|
@ -1817,6 +1817,9 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
containerClassIcons='containericons'
|
containerClassIcons='containericons'
|
||||||
timeClass='time-right'
|
timeClass='time-right'
|
||||||
actorNickname=getNicknameFromActor(postJsonObject['actor'])
|
actorNickname=getNicknameFromActor(postJsonObject['actor'])
|
||||||
|
if not actorNickname:
|
||||||
|
# single user instance
|
||||||
|
actorNickname='dev'
|
||||||
actorDomain,actorPort=getDomainFromActor(postJsonObject['actor'])
|
actorDomain,actorPort=getDomainFromActor(postJsonObject['actor'])
|
||||||
messageId=''
|
messageId=''
|
||||||
if postJsonObject.get('id'):
|
if postJsonObject.get('id'):
|
||||||
|
|
Loading…
Reference in New Issue