From: Mickaël Rémond Date: Mon, 29 Dec 2008 12:06:34 +0000 (+0000) Subject: * src/ejabberd_c2s.erl: Remove useless comment and port Alexey fix to 2.0.x branch. X-Git-Tag: v2.1.0~18^2~494 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f57a380c8897071cd109313b6d3f36b17b00e53;p=ejabberd * src/ejabberd_c2s.erl: Remove useless comment and port Alexey fix to 2.0.x branch. SVN Revision: 1764 --- diff --git a/src/ejabberd_c2s.erl b/src/ejabberd_c2s.erl index 10d323ab7..3ad6085d3 100644 --- a/src/ejabberd_c2s.erl +++ b/src/ejabberd_c2s.erl @@ -1998,13 +1998,6 @@ check_from(El, FromJID) -> (JID#jid.luser == FromJID#jid.luser) and (JID#jid.lserver == FromJID#jid.lserver) and (JID#jid.lresource == "") -> - %% We force the resource on the from attribute in the packet. - %% This is strictly needed only for IQ (to - %% reply to the client), but I do not see - %% any good reason for now not to do it on - %% all packets. - %% Need to be changed to support multiple - %% resource binding per connection. El; true -> 'invalid-from'