missed contact.wav

This commit is contained in:
ingvar1995
2016-04-01 19:13:01 +03:00
parent cea5344e4b
commit dd8f0e07e0
3 changed files with 14 additions and 3 deletions

View File

@@ -119,7 +119,7 @@ def friend_message(window, tray):
if not window.isActiveWindow():
friend = profile.get_friend_by_number(friend_number)
if settings['notifications']:
invoke_in_main_thread(tray_notification, friend.name, message.decode('utf8'), tray)
invoke_in_main_thread(tray_notification, friend.name, message.decode('utf8'), tray, window)
if settings['sound_notifications']:
sound_notification(SOUND_NOTIFICATION['MESSAGE'])
return wrapped