Commit e726c30a authored by guus's avatar guus

Updated comment to include a reference to the requirement (OF-23)

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@11526 b35dd754-fafc-0310-a699-88a17e54d16e
parent 901c4338
......@@ -168,7 +168,8 @@ public class PresenceSubscribeHandler extends BasicModule implements ChannelHand
if (!jids.isEmpty()) {
for (JID jid : jids) {
Presence presenteToSend = presence.createCopy();
// Stamp the presence with the user's bare JID as the 'from' address
// Stamp the presence with the user's bare JID as the 'from' address,
// as required by section 8.2.5 of RFC 3921
presenteToSend.setFrom(senderJID.toBareJID());
routingTable.routePacket(jid, presenteToSend, false);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment