primitivus: fixed notifications counter for simple messages in MUC rooms

This commit is contained in:
Goffi 2016-07-17 17:12:42 +02:00
commit 8c9161bc87

View file

@ -450,6 +450,9 @@ class Chat(PrimitivusWidget, quick_chat.QuickChat):
entity=from_jid,
))
self.host.notify(C.NOTIFY_MESSAGE, from_jid, msg, widget=self, profile=self.profile)
else:
self.host.notify(C.NOTIFY_MESSAGE, self.target, widget=self, profile=self.profile)
def addUser(self, nick):
occupant = super(Chat, self).addUser(nick)