Plays a different sound when a conversation has been created
This commit is contained in:
parent
2699feada5
commit
ed624f5bf1
@ -402,7 +402,7 @@ class Controller(object):
|
||||
# If there is no buffer, we must create one in a wxThread so it will not crash.
|
||||
if buffer == None:
|
||||
wx.CallAfter(self.chat_from_id, uid, setfocus=self.session.settings["chat"]["automove_to_conversations"])
|
||||
self.session.soundplayer.play("message_received.ogg")
|
||||
self.session.soundplayer.play("conversation_opened.ogg")
|
||||
return
|
||||
# If the chat already exists, let's create a dictionary wich will contains data of the received message.
|
||||
message = {"id": obj.message_id, "user_id": uid, "date": obj.timestamp, "body": obj.text, "attachments": obj.attachments}
|
||||
|
BIN
src/sounds/default/conversation_opened.ogg
Normal file
BIN
src/sounds/default/conversation_opened.ogg
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user