diff --git a/src/controller/buffersController.py b/src/controller/buffersController.py index 8d4b1e61..638b3fcd 100644 --- a/src/controller/buffersController.py +++ b/src/controller/buffersController.py @@ -417,7 +417,7 @@ class baseBufferController(bufferController): answer = commonMessageDialogs.delete_tweet_dialog(None) if answer == widgetUtils.YES: try: - if self.name == "direct_messages": + if self.name == "direct_messages" or self.name == "sent_direct_messages": self.session.twitter.twitter.destroy_direct_message(id=self.get_right_tweet()["id"]) else: self.session.twitter.twitter.destroy_status(id=self.get_right_tweet()["id"])