Show
Ignore:
Timestamp:
08/22/07 01:13:03 (17 months ago)
Author:
asterix
Message:

[roidelapluie, elghinn, msieurhappy, xbright and me] chat to muc convertion. see #2095 and #1408. TODO: DND

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/connection_handlers.py

    r8505 r8535  
    14841484                        if xtag.getNamespace() == common.xmpp.NS_CONFERENCE and not invite: 
    14851485                                room_jid = xtag.getAttr('jid') 
    1486                                 self.dispatch('GC_INVITATION', (room_jid, frm, '', None)) 
     1486                                is_continued = False 
     1487                                if xtag.getTag('continue'): 
     1488                                        is_continued = True 
     1489                                self.dispatch('GC_INVITATION', (room_jid, frm, '', None, 
     1490                                        is_continued)) 
    14871491                                return 
    14881492                # chatstates - look for chatstate tags in a message if not delayed 
     
    15751579                                item = invite.getTag('password') 
    15761580                                password = invite.getTagData('password') 
    1577                                 self.dispatch('GC_INVITATION',(frm, jid_from, reason, password)) 
     1581                                is_continued = False 
     1582                                if invite.getTag('invite').getTag('continue'): 
     1583                                        is_continued = True 
     1584                                self.dispatch('GC_INVITATION',(frm, jid_from, reason, password, 
     1585                                        is_continued)) 
    15781586                                return 
    15791587                        if self.name not in no_log_for and jid not in no_log_for and msgtxt: