From ced2a74a5e944db454c207abfb2c6e41d12a1ef9 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 12 Mar 2021 19:16:23 +0000 Subject: [PATCH] Move to start of timeline --- notifications_client.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/notifications_client.py b/notifications_client.py index 36a503c4f..7194db340 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -664,12 +664,15 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str, keyPress = _waitForKeypress(2, debug) break elif keyPress.startswith('show dm'): + currDMIndex = 0 _showLocalBox('dm', currDMIndex, 10) currTimeline = 'dm' elif keyPress.startswith('show sen'): + currSentIndex = 0 _showLocalBox('sent', currSentIndex, 10) currTimeline = 'sent' - elif keyPress.startswith('show in'): + elif keyPress == 'show' or keyPress.startswith('show in'): + currInboxIndex = 0 _showLocalBox('inbox', currInboxIndex, 10) currTimeline = 'inbox' elif keyPress.startswith('next'):