Sha256: f2861c72489684077963e53d66f78d94787658c36847d4480c4960bb3d5fcfe8

Contents?: true

Size: 329 Bytes

Versions: 34

Compression:

Stored size: 329 Bytes

Contents

require 'xmpp4r'
require 'xmpp4r/muc'

client = Jabber::Client.new('admin@myserver.co.uk/ruby')
muc = Jabber::MUC::MUCClient.new(client)
client.connect
client.auth('admin')
muc.join('room@conference.myserver.co.uk/admin')
muc.configure(
      'muc#roomconfig_roomname' => 'roomname',
      'muc#roomconfig_persistentroom' => 1
)

Version data entries

34 entries across 34 versions & 13 rubygems

Version Path
brontes3d-xmpp4r-0.4 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
bryanl-xmpp4r-0.3.2 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
edavey-xmpp4r-0.4.1 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
edavey-xmpp4r-0.4.2 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
edavey-xmpp4r-0.4 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
heipei-xmpp4r-0.3.2 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
ln-xmpp4r-0.5 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
mojodna-xmpp4r-0.4.0.2 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
mojodna-xmpp4r-0.4.0.3 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
seanohalpin-xmpp4r-0.4.1 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
xmpp4r-0.5.6 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
xmpp4r-0.5.5 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
gmcmillan-xmpp4r-0.6.2 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
gmcmillan-xmpp4r-0.6.1 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
gmcmillan-xmpp4r-0.6 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
gmcmillan-xmpp4r-0.5 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
mad-p-xmpp4r-0.6.3 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
mad-p-xmpp4r-0.6.2 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
mad-p-xmpp4r-0.6.1 data/doc/xmpp4r/examples/basic/muc_owner_config.rb
mad-p-xmpp4r-0.6.0 data/doc/xmpp4r/examples/basic/muc_owner_config.rb