#NEWLINE# def groupChatReceived( self , message ) : #NEWLINE# #INDENT# '\n        A group chat message has been received from a MUC room.\n\n        There are a few event methods that may get called here.\n        L{receivedGroupChat}, L{receivedSubject} or L{receivedHistory}.\n        ' #NEWLINE# ( room , user ) = self . _getRoomUser ( message ) #NEWLINE# if ( room is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if message . subject : #NEWLINE# #INDENT# self . receivedSubject ( room , user , message . subject ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( message . delay is None ) : #NEWLINE# #INDENT# self . receivedGroupChat ( room , user , message ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . receivedHistory ( room , user , message )