[JDEV] Strange server behaviour
Gerard BUNEL
gerard.bunel at ago.fr
Fri Jun 29 07:53:33 CDT 2001
> if your function is inside mod_presence : check the destination
> to see if it is the name of your module.
>
Yes it is
>
> maybe you try to deliver your packet whereas the presence packet
> has not been delivered inside the jsm core (maybe due to thread switch
> ...), so that could explain why sometimes the module receive the
> presence
> packet and sometimes not.
>
Could you explain ? How could it be not delivered in jsm ?
I was assuming that packets received in my module were posted from jsm
Was I wrong ?
>
> if you try to implement a new module which will handle presence packet
> take care not to return M_HANDLED when you do stuff with a packet
> and to place your module (in jabber.xml) before mod_presence.
>
It completely replace the mod_presence
>
> thats all I can say for the moment :p
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
--
gerard.bunel at ago.fr - Atlantide - http://www.ago.fr/atlantide/
Technopole Brest Iroise BP 80802 - Site du Vernis - 29608 Brest cedex - France
Tel. : +33 2 98 05 43 21 - Fax. : +33 2 98 05 20 34
e-mail: atlantide-brest at ago.fr
Centre Affaires Oberthur - 74D, rue de Paris - 35700 Rennes - France
Tel. : +33 2 99 84 15 84 - Fax : +33 2 99 84 15 85
e-mail: atlantide-rennes at ago.fr
More information about the JDev
mailing list