consider incomming messages without type as normal (single) messages

This commit is contained in:
Yann Leboulanger 2005-12-07 16:09:03 +00:00
parent b06a5718c4
commit 43564ccefa
1 changed files with 2 additions and 2 deletions

View File

@ -391,8 +391,8 @@ class Connection:
password = invite.getTagData('password')
self.dispatch('GC_INVITATION',(frm, jid_from, reason, password))
else:
self.dispatch('MSG', (frm, msgtxt, tim, encrypted, mtype, subject,
None))
self.dispatch('MSG', (frm, msgtxt, tim, encrypted, 'normal',
subject, None))
# END messageCB
def _presenceCB(self, con, prs):