summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-08-01 01:26:19 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-08-01 01:26:19 +0200
commit6f7ac5a4a66c81fce9451a7bd1645fe3161848f6 (patch)
treea3aa9ad6c2e7549b806c9969ae2df0cf7904104f /plugins
parent87cf38995a283e4a476fd124fcc55e0f80edf1ad (diff)
downloadpoezio-6f7ac5a4a66c81fce9451a7bd1645fe3161848f6.tar.gz
poezio-6f7ac5a4a66c81fce9451a7bd1645fe3161848f6.tar.bz2
poezio-6f7ac5a4a66c81fce9451a7bd1645fe3161848f6.tar.xz
poezio-6f7ac5a4a66c81fce9451a7bd1645fe3161848f6.zip
Use ChatTab in day_change
Diffstat (limited to 'plugins')
-rw-r--r--plugins/day_change.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/day_change.py b/plugins/day_change.py
index cedb4b35..6e0c3e1f 100644
--- a/plugins/day_change.py
+++ b/plugins/day_change.py
@@ -27,9 +27,7 @@ class Plugin(BasePlugin):
msg = _("Day changed to %s") % (datetime.date.today().isoformat())
for tab in self.core.tabs:
- if (isinstance(tab, tabs.MucTab) or
- isinstance(tab, tabs.PrivateTab) or
- isinstance(tab, tabs.ConversationTab)):
+ if isinstance(tab, tabs.ChatTab):
tab.add_message(msg)
self.core.refresh_window()