From 15dc3f8fb32129903d27ecbe92073a87286c0aa1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 16 Mar 2021 14:02:18 +0000 Subject: [PATCH] Posts can go into more than one timeline --- notifications_client.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/notifications_client.py b/notifications_client.py index 348e7b576..bcf62560d 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -912,14 +912,13 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str, # store incoming post speakerJson['decrypted'] = False - if encryptedMessage or speakerJson.get('direct'): - _storeMessage(speakerJson, 'dm') - elif speakerJson.get('replyToYou'): + if speakerJson.get('replyToYou'): newRepliesExist = True _storeMessage(speakerJson, 'replies') - else: - if storeInboxPosts: - _storeMessage(speakerJson, 'inbox') + if speakerJson.get('direct'): + _storeMessage(speakerJson, 'replies') + if storeInboxPosts: + _storeMessage(speakerJson, 'inbox') if not showNewPosts: _clearScreen()