Changeset b270a2 in indico


Ignore:
Timestamp:
03/17/11 00:26:02 (2 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 4287315ec967a3da168d83963c14001db8487d53
Children:
372f35
Parents:
e91f7d
Message:

[FIX] Fixing chat

Location:
indico/MaKaC/plugins/InstantMessaging/XMPP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/plugins/InstantMessaging/XMPP/components.py

    rf179c6 rb270a2  
    301301        if not it means we're re-using an existing chat room """ 
    302302        if conference is None: 
    303             conference = room.getConference() 
     303            conference = room.getConferences()[0] 
    304304        self.setSubject('[Indico] Chat room succesfully created') 
    305305        self.setBody("""    Dear Indico user, 
  • indico/MaKaC/plugins/InstantMessaging/XMPP/handlers.py

    ree3e75 rb270a2  
    177177                                            'conference': conference}) 
    178178        except ServiceError, e: 
    179             Logger.get('ext.im').error("Exception while notifying observers: %s" %e) 
    180             raise ServiceError( message=self.messages['sameId']+e ) 
     179            Logger.get('ext.im').exception("Exception while notifying observers: %s" %e) 
     180            raise ServiceError( message=self.messages['sameId']+str(e) ) 
    181181        except NoReportError, e: 
    182182            Logger.get('ext.im').error("Room exists: %s" %e) 
Note: See TracChangeset for help on using the changeset viewer.