From 1e9d4432f3ccbfcf288053e660b92fced8e2898a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Thu, 26 Mar 2015 16:20:21 -0600 Subject: [PATCH] Now is possible to delete direct messages --- src/controller/buffersController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"])