Commit 143b6ca3 authored by Tijmen de Mes's avatar Tijmen de Mes

Added status icons for MSRP chats

parent 9c588122
......@@ -2383,18 +2383,21 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
session = notification.sender.blink_session.items.chat
if session is None:
return
session.chat_widget.update_message_status(id=notification.data.message.message_id, status='accepted')
# TODO: do we want to use this? Play the message sent tone? -Saul
def _NH_ChatStreamDidDeliverMessage(self, notification):
session = notification.sender.blink_session.items.chat
if session is None:
return
session.chat_widget.update_message_status(id=notification.data.message.message_id, status='delivered')
# TODO: implement -Saul
def _NH_ChatStreamDidNotDeliverMessage(self, notification):
session = notification.sender.blink_session.items.chat
if session is None:
return
session.chat_widget.update_message_status(id=notification.data.message.message_id, status='failed')
# TODO: implement -Saul
def _NH_ChatStreamOTREncryptionStateChanged(self, notification):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment