From d22faa6f388857ff6a6f5900c56893bfed3bf80d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 21 Oct 2019 11:04:05 +0100 Subject: [PATCH] Debug --- webinterface.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/webinterface.py b/webinterface.py index 30da0425..692d591f 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1831,6 +1831,15 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ displayName,False) titleStr+=''+displayName+'' 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+='@'+actorNickname+'@'+actorDomain+'' # Show a DM icon for DMs in the inbox timeline