Sha256: 4badedc736069bf3f50baa115e3f30b727fc557b57d6f45c724a4810bb50f049

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

module Blather
class Stanza
class Presence

  class MUC < Status
    register :muc_join, :x, "http://jabber.org/protocol/muc"

    private
      def muc
        unless muc = find_first('ns:x', :ns => self.class.registered_ns)
          self << (muc = XMPPNode.new('x', self.document))
        end
        muc
      end
  end # MUC

end # Presence
end # Stanza
end # Blather

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blather-0.6.0 lib/blather/stanza/presence/muc.rb