Sent dm's are added properly to the buffer if no streaming Enabled. Fixes #222

This commit is contained in:
Manuel Cortez 2018-05-29 17:35:04 -05:00
parent 7d35dbc752
commit 77489cab1e

View File

@ -114,7 +114,6 @@ class Controller(object):
pub.subscribe(self.manage_home_timelines, "item-in-home") pub.subscribe(self.manage_home_timelines, "item-in-home")
pub.subscribe(self.manage_mentions, "mention") pub.subscribe(self.manage_mentions, "mention")
pub.subscribe(self.manage_direct_messages, "direct-message") pub.subscribe(self.manage_direct_messages, "direct-message")
pub.subscribe(self.manage_sent_dm, "sent-dm")
pub.subscribe(self.manage_sent_tweets, "sent-tweet") pub.subscribe(self.manage_sent_tweets, "sent-tweet")
pub.subscribe(self.manage_events, "event") pub.subscribe(self.manage_events, "event")
pub.subscribe(self.manage_followers, "follower") pub.subscribe(self.manage_followers, "follower")
@ -135,6 +134,7 @@ class Controller(object):
log.debug("Binding other application events...") log.debug("Binding other application events...")
pub.subscribe(self.restart_streams_, "restart_streams") pub.subscribe(self.restart_streams_, "restart_streams")
pub.subscribe(self.buffer_title_changed, "buffer-title-changed") pub.subscribe(self.buffer_title_changed, "buffer-title-changed")
pub.subscribe(self.manage_sent_dm, "sent-dm")
widgetUtils.connect_event(self.view, widgetUtils.CLOSE_EVENT, self.exit_) widgetUtils.connect_event(self.view, widgetUtils.CLOSE_EVENT, self.exit_)
pub.subscribe(self.logout_account, "logout") pub.subscribe(self.logout_account, "logout")
pub.subscribe(self.login_account, "login") pub.subscribe(self.login_account, "login")