Re: Handling subscription requests
From: Salvatore Iovene <salvatore@xxxxxxxxxx>
Date: Fri, 08 Sep 2006 12:29:06 +0200
On Fri, Sep 08, 2006 at 11:42:23AM +0200, Jakob Schroeter wrote:
> On Friday September 8 2006 11:19, Salvatore Iovene wrote:
> 
> > <presence from='salvatore.iovene@xxxxxxxxxx' to='siovene@xxxxxxxxxx'
> > type='subscribed'/>
> 
> Does RosterListener::itemSubscribed() get called when you receive this 
> stanza? 

Nope.

> Do you receive it each time you log in?

I have just modified gloox as you said, and I didn't receive that
stanza, now. I'm gonna try again without these modifications, tho.
> 
> If the latter is true, the server might expect a reply before considering the 
> subscription fully mutual. Unfortunately, the respective code is commented 
> out in gloox due to a severe bug in jabberd2 that causes an endless loop of 
> such stanzas going back and forth.
> Could you try to un-comment the two code blocks in rostermanager.cpp, 
> starting 
> at lines 290 and 316, respectively?

I don't know if this modification is responsible of not getting that
stanza anymore, but my client won't receive presence from it's contacts
anyway. :(

-- 
Salvatore Iovene
Movial Oy



-- 
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx