Icon after name

main
Bob Mottram 2021-03-18 19:49:02 +00:00
parent 914d819294
commit 4c64119484
1 changed files with 3 additions and 3 deletions

View File

@ -506,10 +506,10 @@ def _desktopShowBoxJson(boxName: str, boxJson: {},
posStr += ' '
authorActor = postJsonObject['object']['attributedTo']
name = getNicknameFromActor(authorActor)
if isDM(postJsonObject):
name = '📧' + name
if postJsonObject['object'].get('inReplyTo'):
name = '' + name
name += ''
if isDM(postJsonObject):
name += '📧'
if len(name) > 16:
name = name[:16]
else: