Bugs: Browse | Submit New | Admin

[#458] AutoSubscriptionHandler broken?

Date:
2004-03-31 02:21
Priority:
3
Submitted By:
Dayne Broderson (bishop)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
AutoSubscriptionHandler broken?

Detailed description
I'd been getting weird errors showing up when running my jabber4r scripts after somebody attempted to add the bot to
their buddy list.  I tracked this down to fact I wasn't setting a subscription handler.  So I setup
session.enable_autosubscription but sadly this seems broken.  Or am I broken?

/usr/local//lib/ruby/site_ruby/1.8/jabber4r/session.rb:352:in `initialize': wrong number of arguments(1 for 0)
(ArgumentError)
        from /usr/local//lib/ruby/site_ruby/1.8/jabber4r/session.rb:352:in `new'
        from /usr/local//lib/ruby/site_ruby/1.8/jabber4r/session.rb:352:in `set_subscription_handler'
        from /usr/local//lib/ruby/site_ruby/1.8/jabber4r/session.rb:357:in `enable_autosubscription'

Trying to create my own AutoSubscriptionHandler causes problems too.  Feel free to tell me to "RTFM closer".  

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item