kami13sep / jabber-net

Automatically exported from code.google.com/p/jabber-net
Other
0 stars 0 forks source link

PubSubManager.GetItems not sending subid? #89

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am playing around with OpenFire's pubsub functionality using jabber-net. 
When PubSubManager.GotSubscribed() gets called, it is able to get the 
PubSubSubscription from the response, and this class contains a valid 
SubID. However, GotSubscribed does not seem to do anything with this ID, 
and when it calls GetItemsIfPending, OpenFire rejects the request because 
the subId was not sent back: 

<iq from=\"pubsub.n-deutschd2.tfn.com\" to=\"davetest2@n-
deutschd2.tfn.com/Jabber.Net\" type=\"error\" id=\"JN_19\"><pubsub 
xmlns=\"http://jabber.org/protocol/pubsub\"><items node=\"test3
\" /></pubsub><error code=\"400\" type=\"modify\"><bad-request 
xmlns=\"urn:ietf:params:xml:ns:xmpp-stanzas\" /><subid-required 
xmlns=\"http://jabber.org/protocol/pubsub#errors\" /></error></iq>

Any idea why this would be? 

Original issue reported on code.google.com by david%re...@gtempaccount.com on 24 Nov 2009 at 7:50

GoogleCodeExporter commented 8 years ago
FWIW, I stuck the subid into the items element and that seemed to make it work. 

Original comment by david%re...@gtempaccount.com on 24 Nov 2009 at 10:59

GoogleCodeExporter commented 8 years ago
I got this problem and personnaly I patched jabber-net to get it works...

Original comment by labecot....@gmail.com on 26 Nov 2009 at 9:31

GoogleCodeExporter commented 8 years ago
Same problem here. Still no solution. :( Developers where are you? Jabber-net 
needs update.

Original comment by pschegol...@gmail.com on 18 Aug 2011 at 8:31