Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

yield data for easy access

  • Loading branch information...
commit ed86ec66ebc3b1c9ad41f513039e85f09fcc0510 1 parent 66a69eb
@maccman maccman authored Arthur Taylor committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/blather/client/dsl/muc.rb
View
4 lib/blather/client/dsl/muc.rb
@@ -84,7 +84,9 @@ def destroy(reason = nil)
def get_configuration(&block)
get_configure = Blather::Stanza::Iq::MUC::Owner::Configure.new(:get, @room)
- write_with_handler(get_configure, &block)
+ write_with_handler(get_configure) do |stana|
+ yield stana.data
+ end
end
alias_method :configuration, :get_configuration
Please sign in to comment.
Something went wrong with that request. Please try again.