Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

yield data for easy access

  • Loading branch information...
commit ed86ec66ebc3b1c9ad41f513039e85f09fcc0510 1 parent 66a69eb
Alex MacCaw maccman authored Arthur Taylor committed

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 lib/blather/client/dsl/muc.rb
4 lib/blather/client/dsl/muc.rb
@@ -84,7 +84,9 @@ def destroy(reason = nil)
84 84
85 85 def get_configuration(&block)
86 86 get_configure = Blather::Stanza::Iq::MUC::Owner::Configure.new(:get, @room)
87   - write_with_handler(get_configure, &block)
  87 + write_with_handler(get_configure) do |stana|
  88 + yield stana.data
  89 + end
88 90 end
89 91 alias_method :configuration, :get_configuration
90 92

0 comments on commit ed86ec6

Please sign in to comment.
Something went wrong with that request. Please try again.