mirror of https://gitlab.com/bashrc2/epicyon
Check if like was sent
parent
fe57220191
commit
203e428a74
|
@ -637,12 +637,13 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
|
||||||
actor + '/followers#buttonheader')
|
actor + '/followers#buttonheader')
|
||||||
prevFollow = speakerJson['notify']['followRequests']
|
prevFollow = speakerJson['notify']['followRequests']
|
||||||
elif speakerJson['notify']['likedBy'] != prevLike:
|
elif speakerJson['notify']['likedBy'] != prevLike:
|
||||||
if notificationSounds:
|
if '##sent##' not in speakerJson['notify']['likedBy']:
|
||||||
_playNotificationSound(soundsDir + '/' +
|
if notificationSounds:
|
||||||
likeSoundFilename, player)
|
_playNotificationSound(soundsDir + '/' +
|
||||||
_desktopNotification(notificationType, title,
|
likeSoundFilename, player)
|
||||||
'New like ' +
|
_desktopNotification(notificationType, title,
|
||||||
speakerJson['notify']['likedBy'])
|
'New like ' +
|
||||||
|
speakerJson['notify']['likedBy'])
|
||||||
prevLike = speakerJson['notify']['likedBy']
|
prevLike = speakerJson['notify']['likedBy']
|
||||||
elif speakerJson['notify']['share'] != prevShare:
|
elif speakerJson['notify']['share'] != prevShare:
|
||||||
if speakerJson['notify']['share'] is True:
|
if speakerJson['notify']['share'] is True:
|
||||||
|
|
Loading…
Reference in New Issue