On Sun, Oct 19, 2003 at 05:51:28PM -0400, Justin Kirby wrote:
> >  
> > All of it works but there are 2 problems:
> > - because only the program (jabbedo) understands the pubsub note
> > events, only jabbedo should recieve them (not the chat client running
> > on the same JID but with a different resource and a higher priority)..
> > BUT when i add an affiliation with a resource ([EMAIL PROTECTED]/jabbedo)
> > nothing will be recieved.
> >  
> > - because jabbedo is only waiting for pubsub events (notes) and items
> > should not recieve roster information.. so i would not like to send
> > presence. But when i don't send presence i don't recieve any events.
> > Presence invisble still recieves all roster items and recieves all
> > offline messages.
> >  
> 
> You *have* to send presence before you can do anything. Simply discard
> any jabber stanzas that you are not interested in. 

This is not true. You can receive messages directed to a resource even
when you don't send presence. At least this works with jabberd 1.4.2.

-- 
Groetjes,

Ralphm
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev

Reply via email to