+2003-12-24 Alexey Shchepin <alexey@sevcom.net>
+
+ * src/ejabberd_c2s.erl: Presence probe now sended from full JID
+
+ * src/mod_roster.erl: Bugfix
+
2003-12-23 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_c2s.erl: Bugfix
rewrite S2S key validation
check "id" attributes in db:verify packets
+last presence
more correctly work with SRV DNS records (priority, weight, etc...)
TLS
make roster set to work in one transaction
presence_broadcast_first(From, StateData, Packet) ->
?SETS:fold(fun(JID, X) ->
ejabberd_router:route(
- jlib:jid_replace_resource(From, ""),
+ From,
jlib:make_jid(JID),
{xmlelement, "presence",
[{"type", "probe"}],
end,
if IsTo ->
ejabberd_router:route(
- From, jlib:make_jid(OldItem#roster.jid),
+ jlib:jid_remove_resource(From),
+ jlib:make_jid(OldItem#roster.jid),
{xmlelement, "presence",
[{"type", "unsubscribe"}],
[]});
end,
if IsFrom ->
ejabberd_router:route(
- From, jlib:make_jid(OldItem#roster.jid),
+ jlib:jid_remove_resource(From),
+ jlib:make_jid(OldItem#roster.jid),
{xmlelement, "presence",
[{"type", "unsubscribed"}],
[]});