Hi,.
with the latest CVS version there is a problem with mod_presence.
The reply to a presence/probe isn't given a recipient, thus new
connects will not see allready connected roster subscribees as such.
The patch included fixes this.
Regards,
Peter Zijlstra
*** jsm/modules/mod_presence.c Wed Sep 5 18:01:50 2001
--- jsm/modules/mod_presence.c.fix Wed Sep 5 18:04:58 2001
***************
*** 70,77 ****
log_debug("mod_presence","probe from %s and no presence to
return",jid_full(m->packet->from));
}else if(_mod_presence_notified(m->packet->from,notify))
{
log_debug("mod_presence","got a probe, responding to
%s",jid_full(m->packet->from));
! js_deliver(m->si,jpacket_new(xmlnode_dup(m->s->presence)));
}else{
log_debug("mod_presence","%s attempted to probe by someone not
qualified",jid_full(m->packet->from));
}
--- 70,81 ----
log_debug("mod_presence","probe from %s and no presence to
return",jid_full(m->packet->from));
}else if(_mod_presence_notified(m->packet->from,notify))
{
+ xmlnode x;
log_debug("mod_presence","got a probe, responding to
%s",jid_full(m->packet->from));
! x = xmlnode_dup(m->s->presence);
! /* tell the packet where to go */
! xmlnode_put_attrib(x,"to",jid_full(m->packet->from));
! js_deliver(m->si,jpacket_new(x));
}else{
log_debug("mod_presence","%s attempted to probe by someone not
qualified",jid_full(m->packet->from));
}