diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-08-01 01:26:19 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-08-01 01:26:19 +0200 |
commit | 6f7ac5a4a66c81fce9451a7bd1645fe3161848f6 (patch) | |
tree | a3aa9ad6c2e7549b806c9969ae2df0cf7904104f | |
parent | 87cf38995a283e4a476fd124fcc55e0f80edf1ad (diff) | |
download | poezio-6f7ac5a4a66c81fce9451a7bd1645fe3161848f6.tar.gz poezio-6f7ac5a4a66c81fce9451a7bd1645fe3161848f6.tar.bz2 poezio-6f7ac5a4a66c81fce9451a7bd1645fe3161848f6.tar.xz poezio-6f7ac5a4a66c81fce9451a7bd1645fe3161848f6.zip |
Use ChatTab in day_change
-rw-r--r-- | plugins/day_change.py | 4 |
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() |