Check if like was sent

merge-requests/21/head
Bob Mottram 2021-03-12 20:28:04 +00:00
parent fe57220191
commit 203e428a74
1 changed files with 7 additions and 6 deletions

View File

@ -637,6 +637,7 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
actor + '/followers#buttonheader')
prevFollow = speakerJson['notify']['followRequests']
elif speakerJson['notify']['likedBy'] != prevLike:
if '##sent##' not in speakerJson['notify']['likedBy']:
if notificationSounds:
_playNotificationSound(soundsDir + '/' +
likeSoundFilename, player)