Use ChatTab in day_change
This commit is contained in:
parent
87cf38995a
commit
6f7ac5a4a6
1 changed files with 1 additions and 3 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue