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'):