'Return the name of the MUC room where the message originated.
Read-only stanza interface.'

def get_mucroom(self):

    if (self['type'] == 'groupchat'):
        return self['from'].bare
    else:
        return ''
