From 8a1fbae1cca990f0f9163b5c483e226cc387d1ab Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 9 Mar 2021 19:59:10 +0000 Subject: [PATCH] Likedby --- notifications_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notifications_client.py b/notifications_client.py index eb09f5389..3fce1dfb6 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -138,7 +138,7 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str, _playNotificationSound(soundsDir + '/' + followSoundFilename, player) elif likeSoundFilename: - if speakerJson['notify']['like'] != prevLike: + if speakerJson['notify']['likedBy'] != prevLike: _playNotificationSound(soundsDir + '/' + likeSoundFilename, player) elif shareSoundFilename: @@ -150,7 +150,7 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str, prevReply = speakerJson['notify']['reply'] prevCalendar = speakerJson['notify']['calendar'] prevFollow = speakerJson['notify']['followRequests'] - prevLike = speakerJson['notify']['like'] + prevLike = speakerJson['notify']['likedBy'] prevShare = speakerJson['notify']['share'] if speakerJson.get('say'):