diff options
-rw-r--r-- | butterfly/channel/file_transfer.py | 1 | ||||
-rw-r--r-- | butterfly/channel/media.py | 1 | ||||
-rw-r--r-- | butterfly/channel/text.py | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/butterfly/channel/file_transfer.py b/butterfly/channel/file_transfer.py index 3062953..6891a29 100644 --- a/butterfly/channel/file_transfer.py +++ b/butterfly/channel/file_transfer.py @@ -180,7 +180,6 @@ class ButterflyFileTransferChannel(telepathy.server.ChannelTypeFileTransfer): telepathy.server.ChannelTypeFileTransfer.Close(self) self.cleanup() - self.remove_from_connection() def cancel(self): if self._receiving and self.state == telepathy.FILE_TRANSFER_STATE_PENDING: diff --git a/butterfly/channel/media.py b/butterfly/channel/media.py index dc98ed1..3ffb2fd 100644 --- a/butterfly/channel/media.py +++ b/butterfly/channel/media.py @@ -189,7 +189,6 @@ class ButterflyMediaChannel( def on_call_ended(self): logger.info("Call has ended") telepathy.server.ChannelTypeStreamedMedia.Close(self) - self.remove_from_connection() self._session_handler.remove_from_connection() #papyon.event.media.MediaSessionEventInterface diff --git a/butterfly/channel/text.py b/butterfly/channel/text.py index 7e5821b..2673c04 100644 --- a/butterfly/channel/text.py +++ b/butterfly/channel/text.py @@ -206,7 +206,6 @@ class ButterflyTextChannel( self._conversation.leave() self._remove_typing_timeouts() telepathy.server.ChannelTypeText.Close(self) - self.remove_from_connection() def GetPendingMessageContent(self, message_id, parts): # We don't support pending message |