Method: Jabber::MUC::SimpleMUCClient#subject=

Defined in:
lib/xmpp4r/muc/helper/simplemucclient.rb

#subject=(s) ⇒ Object

Change the room’s subject/topic

This will not be reflected by SimpleMUCClient#subject immediately, wait for SimpleMUCClient#on_subject

s
String

New subject



136
137
138
139
140
# File 'lib/xmpp4r/muc/helper/simplemucclient.rb', line 136

def subject=(s)
  msg = Message.new
  msg.subject = s
  send(msg)
end