diff options
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core.py b/src/core.py index ce271613..2d595cb3 100644 --- a/src/core.py +++ b/src/core.py @@ -822,8 +822,8 @@ class Core(object): body = message['body'] if body: date = date if delayed == True else None - if not delayed: - logger.groupchat(room_from, nick_from, body) + # if not delayed: + # logger.groupchat(room_from, nick_from, body) self.add_message_to_text_buffer(room, body, date, nick_from) self.refresh_window() self.doupdate() @@ -1344,7 +1344,9 @@ class Core(object): if not key: return res = self.current_tab().on_input(key) - self.refresh_window() + if res: + log.debug('RES is true') + self.refresh_window() def on_roster_enter_key(self, roster_row): """ |