Commit bb5cc236 authored by Tijmen de Mes's avatar Tijmen de Mes

Switch back to sip message in chat on clean disconnect

parent c41d0f79
......@@ -2444,6 +2444,8 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
session.chat_widget.add_message(ChatStatus('Disconnected: %s' % notification.data.error))
else:
session.chat_widget.add_message(ChatStatus('Disconnected'))
# Set type back for message as the stream ended cleanly -- Tijmen
notification.sender.blink_session.chat_type = None
def _NH_MediaStreamWillEnd(self, notification):
stream = notification.sender
......
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