diff --git a/frontends/src/primitivus/chat.py b/frontends/src/primitivus/chat.py index 9543d099..c4b58193 100644 --- a/frontends/src/primitivus/chat.py +++ b/frontends/src/primitivus/chat.py @@ -300,7 +300,11 @@ class Chat(urwid.WidgetWrap, QuickChat): break else: self.content.append(new_text) - self._notify(from_jid, msg) + if not timestamp: + # XXX: do not send notifications for each line of the history being displayed + # FIXME: this must be changed in the future if the timestamp is passed with + # all messages and not only with the messages coming from the history. + self._notify(from_jid, msg) def printInfo(self, msg, type_='normal', timestamp=""): """Print general info