mirror of https://gitlab.com/bashrc2/epicyon
Notification sounds optional
parent
5d17c2d9ce
commit
1dda323ea7
|
@ -1223,6 +1223,7 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
|
||||||
_desktopNotification(notificationType,
|
_desktopNotification(notificationType,
|
||||||
"Epicyon",
|
"Epicyon",
|
||||||
"New DM " + yourActor + '/dm')
|
"New DM " + yourActor + '/dm')
|
||||||
|
if notificationSounds:
|
||||||
_playNotificationSound(dmSoundFilename, player)
|
_playNotificationSound(dmSoundFilename, player)
|
||||||
if notifyJson.get('repliesNotify'):
|
if notifyJson.get('repliesNotify'):
|
||||||
newRepliesExist = True
|
newRepliesExist = True
|
||||||
|
@ -1230,6 +1231,7 @@ def runDesktopClient(baseDir: str, proxyType: str, httpPrefix: str,
|
||||||
_desktopNotification(notificationType,
|
_desktopNotification(notificationType,
|
||||||
"Epicyon",
|
"Epicyon",
|
||||||
"New reply " + yourActor + '/replies')
|
"New reply " + yourActor + '/replies')
|
||||||
|
if notificationSounds:
|
||||||
_playNotificationSound(replySoundFilename, player)
|
_playNotificationSound(replySoundFilename, player)
|
||||||
|
|
||||||
if boxJson:
|
if boxJson:
|
||||||
|
|
Loading…
Reference in New Issue