Use ChatTab in day_change

This commit is contained in:
Florent Le Coz 2014-08-01 01:26:19 +02:00
parent 87cf38995a
commit 6f7ac5a4a6

View file

@ -27,9 +27,7 @@ class Plugin(BasePlugin):
msg = _("Day changed to %s") % (datetime.date.today().isoformat()) msg = _("Day changed to %s") % (datetime.date.today().isoformat())
for tab in self.core.tabs: for tab in self.core.tabs:
if (isinstance(tab, tabs.MucTab) or if isinstance(tab, tabs.ChatTab):
isinstance(tab, tabs.PrivateTab) or
isinstance(tab, tabs.ConversationTab)):
tab.add_message(msg) tab.add_message(msg)
self.core.refresh_window() self.core.refresh_window()