# HG changeset patch # User Goffi # Date 1468771154 -7200 # Node ID d2144d04065e368decbc4e5513125275c3eb59dd # Parent 90134b2e3dc4c6839b258cbc3cf772abc3548748 primitivus (chat): don't send notification for move messages diff -r 90134b2e3dc4 -r d2144d04065e frontends/src/primitivus/chat.py --- a/frontends/src/primitivus/chat.py Sun Jul 17 17:32:46 2016 +0200 +++ b/frontends/src/primitivus/chat.py Sun Jul 17 17:59:14 2016 +0200 @@ -437,6 +437,11 @@ self.mess_walker.append(wid) self.mess_widgets.focus_position = len(self.mess_walker) - 1 # scroll down self.host.redraw() # FIXME: should not be necessary + if self._user_moved(message): + return # no notification for moved messages + + # notifications + if wid.mess_data.mention: from_jid = wid.mess_data.from_jid msg = _(u'You have been mentioned by {nick} in {room}'.format(