Commit 87339fab authored by Tijmen de Mes's avatar Tijmen de Mes

Load message history when stream is added to session

parent 08f46fa8
......@@ -2302,6 +2302,8 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
def _NH_BlinkSessionWillAddStream(self, notification):
if notification.data.stream.type in self.__streamtypes__:
self.show()
history = HistoryManager()
history.load(notification.sender.contact.uri.uri, notification.sender)
def _NH_BlinkSessionDidRemoveStream(self, notification):
self._update_control_menu()
......
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