Patches: Browse | Submit New | Admin

[#3213] Handle no subscription handler, auto-subscription

Date:
2006-01-09 14:00
Priority:
3
Submitted By:
Jamis Buck (minam)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Handle no subscription handler, auto-subscription

Detailed description
Attached is a patch for two things (bad form, I know--should have submitted two patches, but they're both just a few
lines, is all). I encountered these issues with Jabber4r 0.8, while playing with some of the examples on the jabber4r
page.

The first occurred when I tried to run an example without setting up a subscription handler--I would get a "break
from proc-closure" error at session.rb:415.

The second occurred when I tried to use the #enable_autosubscription method--it was trying to send the subscription
itself as the method to invoke on the session.

(Are there any unit tests for jabber4r? I looked but didn't see any. Otherwise I would have included unit tests, too.
Sorry if I missed them!)

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
jabber-patch.diff Download

Changes:

Field Old Value Date By
File Added438: jabber-patch.diff2006-01-09 14:01minam