Commit 98f764a2 authored by Dan Pascu's avatar Dan Pascu

Fixed status message when audio is removed vs when the session is ended

parent 4cb307da
...@@ -1719,7 +1719,7 @@ class AudioSessionItem(object): ...@@ -1719,7 +1719,7 @@ class AudioSessionItem(object):
def _NH_BlinkSessionDidRemoveStream(self, notification): def _NH_BlinkSessionDidRemoveStream(self, notification):
if notification.data.stream.type == 'audio': if notification.data.stream.type == 'audio':
self.status = Status('Call ended') self.status = Status('Audio removed') if self.blink_session.streams else Status('Call ended')
self._cleanup() self._cleanup()
def _NH_BlinkSessionWillEnd(self, notification): def _NH_BlinkSessionWillEnd(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