diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-11-08 00:53:31 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-11-08 00:53:31 +0100 |
commit | b8b54735c7fe3bcdc2d3f739250b28e5facd9aef (patch) | |
tree | ba14e9670bd1e257aefcc3247faeac92ef02853a /plugins | |
parent | c2798ba8dea84394c702ccf58cbda95a975f8605 (diff) | |
parent | 7d6c92ffc6af5ae738fc51b2f1454370e09a49fb (diff) | |
download | poezio-b8b54735c7fe3bcdc2d3f739250b28e5facd9aef.tar.gz poezio-b8b54735c7fe3bcdc2d3f739250b28e5facd9aef.tar.bz2 poezio-b8b54735c7fe3bcdc2d3f739250b28e5facd9aef.tar.xz poezio-b8b54735c7fe3bcdc2d3f739250b28e5facd9aef.zip |
Merge remote-tracking branch 'origin/plugins' into plugins
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/day_change.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/day_change.py b/plugins/day_change.py index cac69a75..14924684 100644 --- a/plugins/day_change.py +++ b/plugins/day_change.py @@ -24,8 +24,7 @@ class Plugin(BasePlugin): if (isinstance(tab, tabs.MucTab) or isinstance(tab, tabs.PrivateTab) or isinstance(tab, tabs.ConversationTab)): - room = tab.get_room() - room.add_message(msg) + tab.add_message(msg) self.core.refresh_window() self.schedule_event() |