lib/messenger/jabber.rb in messenger-0.1.0 vs lib/messenger/jabber.rb in messenger-0.1.1

- old
+ new

@@ -27,10 +27,10 @@ until pending_messages_count == 0 pending_messages_count = jabber.send(:queue, :pending_messages).size sleep 1 end status = jabber.subscribed_to?(recipient) - [status, status ? nil : "Not yet authorized"] + Result.new(status, status ? nil : "Not yet authorized") end def self.obfuscate(url) raise URLError, "The URL provided is invalid" unless valid_url?(url) url