consider incomming messages without type as normal (single) messages
This commit is contained in:
parent
b06a5718c4
commit
43564ccefa
1 changed files with 2 additions and 2 deletions
|
@ -391,8 +391,8 @@ class Connection:
|
||||||
password = invite.getTagData('password')
|
password = invite.getTagData('password')
|
||||||
self.dispatch('GC_INVITATION',(frm, jid_from, reason, password))
|
self.dispatch('GC_INVITATION',(frm, jid_from, reason, password))
|
||||||
else:
|
else:
|
||||||
self.dispatch('MSG', (frm, msgtxt, tim, encrypted, mtype, subject,
|
self.dispatch('MSG', (frm, msgtxt, tim, encrypted, 'normal',
|
||||||
None))
|
subject, None))
|
||||||
# END messageCB
|
# END messageCB
|
||||||
|
|
||||||
def _presenceCB(self, con, prs):
|
def _presenceCB(self, con, prs):
|
||||||
|
|
Loading…
Add table
Reference in a new issue