diff --git a/README_commandline.md b/README_commandline.md index f7b533a4c..a7d3a6c1b 100644 --- a/README_commandline.md +++ b/README_commandline.md @@ -437,6 +437,7 @@ unfollow [handle] Stop following the give handle show dm|sent|inbox Show a timeline next Next page in the timeline prev Previous page in the timeline +read [post number] Read a post from a timeline ``` If you have a GPG key configured on your local system and are sending a direct message to someone who has a PGP key (the exported key, not just the key ID) set as a tag on their profile then it will try to encrypt the message automatically. So under some conditions end-to-end encryption is possible, such that the instance server only sees ciphertext. Conversely, for arriving direct messages if they are PGP encrypted then the notification client will try to obtain the relevant public key and decrypt. diff --git a/notifications_client.py b/notifications_client.py index fe659dde9..02765120a 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -637,12 +637,13 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str, actor + '/followers#buttonheader') prevFollow = speakerJson['notify']['followRequests'] elif speakerJson['notify']['likedBy'] != prevLike: - if notificationSounds: - _playNotificationSound(soundsDir + '/' + - likeSoundFilename, player) - _desktopNotification(notificationType, title, - 'New like ' + - speakerJson['notify']['likedBy']) + if '##sent##' not in speakerJson['notify']['likedBy']: + if notificationSounds: + _playNotificationSound(soundsDir + '/' + + likeSoundFilename, player) + _desktopNotification(notificationType, title, + 'New like ' + + speakerJson['notify']['likedBy']) prevLike = speakerJson['notify']['likedBy'] elif speakerJson['notify']['share'] != prevShare: if speakerJson['notify']['share'] is True: