main2
Bob Mottram 2019-10-21 11:04:05 +01:00
parent fac6713185
commit d22faa6f38
1 changed files with 9 additions and 0 deletions

View File

@ -1831,6 +1831,15 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
displayName,False)
titleStr+='<a href="'+messageId+'">'+displayName+'</a>'
else:
if not messageId:
pprint(postJsonObject)
print('ERROR: no messageId')
if not actorNickname:
pprint(postJsonObject)
print('ERROR: no actorNickname')
if not actorDomain:
pprint(postJsonObject)
print('ERROR: no actorDomain')
titleStr+='<a href="'+messageId+'">@'+actorNickname+'@'+actorDomain+'</a>'
# Show a DM icon for DMs in the inbox timeline