Commit ae271926 authored by Dan Pascu's avatar Dan Pascu

Implemented call transfer

parent 71ffd6d9
This diff is collapsed.
...@@ -54,6 +54,7 @@ class MainWindow(base_class, ui_class): ...@@ -54,6 +54,7 @@ class MainWindow(base_class, ui_class):
notification_center.add_observer(self, name='SIPAccountGotPendingWatcher') notification_center.add_observer(self, name='SIPAccountGotPendingWatcher')
notification_center.add_observer(self, name='BlinkSessionNewOutgoing') notification_center.add_observer(self, name='BlinkSessionNewOutgoing')
notification_center.add_observer(self, name='BlinkSessionDidReinitializeForOutgoing') notification_center.add_observer(self, name='BlinkSessionDidReinitializeForOutgoing')
notification_center.add_observer(self, name='BlinkSessionTransferNewOutgoing')
notification_center.add_observer(self, name='BlinkFileTransferNewIncoming') notification_center.add_observer(self, name='BlinkFileTransferNewIncoming')
notification_center.add_observer(self, name='BlinkFileTransferNewOutgoing') notification_center.add_observer(self, name='BlinkFileTransferNewOutgoing')
notification_center.add_observer(self, sender=AccountManager()) notification_center.add_observer(self, sender=AccountManager())
...@@ -907,6 +908,10 @@ class MainWindow(base_class, ui_class): ...@@ -907,6 +908,10 @@ class MainWindow(base_class, ui_class):
def _NH_BlinkSessionDidReinitializeForOutgoing(self, notification): def _NH_BlinkSessionDidReinitializeForOutgoing(self, notification):
self.search_box.clear() self.search_box.clear()
def _NH_BlinkSessionTransferNewOutgoing(self, notification):
self.search_box.clear()
self.switch_view_button.view = SwitchViewButton.SessionView
def _NH_BlinkFileTransferNewIncoming(self, notification): def _NH_BlinkFileTransferNewIncoming(self, notification):
self.filetransfer_window.show(activate=QApplication.activeWindow() is not None) self.filetransfer_window.show(activate=QApplication.activeWindow() is not None)
......
This diff is collapsed.
This diff is collapsed.
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