Posts can go into more than one timeline

merge-requests/21/head
Bob Mottram 2021-03-16 14:02:18 +00:00
parent af7b3d232e
commit 15dc3f8fb3
1 changed files with 5 additions and 6 deletions

View File

@ -912,14 +912,13 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
# store incoming post # store incoming post
speakerJson['decrypted'] = False speakerJson['decrypted'] = False
if encryptedMessage or speakerJson.get('direct'): if speakerJson.get('replyToYou'):
_storeMessage(speakerJson, 'dm')
elif speakerJson.get('replyToYou'):
newRepliesExist = True newRepliesExist = True
_storeMessage(speakerJson, 'replies') _storeMessage(speakerJson, 'replies')
else: if speakerJson.get('direct'):
if storeInboxPosts: _storeMessage(speakerJson, 'replies')
_storeMessage(speakerJson, 'inbox') if storeInboxPosts:
_storeMessage(speakerJson, 'inbox')
if not showNewPosts: if not showNewPosts:
_clearScreen() _clearScreen()