def subject(self, roomJID, subject):
    '\n        Change the subject of a MUC room.\n\n        See: http://xmpp.org/extensions/xep-0045.html#subject-mod\n\n        @param roomJID: The bare JID of the room.\n        @type roomJID: L{JID<twisted.words.protocols.jabber.jid.JID>}\n\n        @param subject: The subject you want to set.\n        @type subject: C{unicode}\n        '
    message = GroupChat(roomJID.userhostJID(), subject=subject)
    self.send(message.toElement())
Change the subject of a MUC room.

See: http://xmpp.org/extensions/xep-0045.html#subject-mod

@param roomJID: The bare JID of the room.
@type roomJID: L{JID<twisted.words.protocols.jabber.jid.JID>}

@param subject: The subject you want to set.
@type subject: C{unicode}
def subject(self, roomJID, subject):
    '\n        Change the subject of a MUC room.\n\n        See: http://xmpp.org/extensions/xep-0045.html#subject-mod\n\n        @param roomJID: The bare JID of the room.\n        @type roomJID: L{JID<twisted.words.protocols.jabber.jid.JID>}\n\n        @param subject: The subject you want to set.\n        @type subject: C{unicode}\n        '
    message = GroupChat(roomJID.userhostJID(), subject=subject)
    self.send(message.toElement())