]> granicus.if.org Git - ejabberd/commitdiff
* src/ejabberd_c2s.erl: Remove useless comment and port Alexey fix to 2.0.x branch.
authorMickaël Rémond <mickael.remond@process-one.net>
Mon, 29 Dec 2008 12:06:34 +0000 (12:06 +0000)
committerMickaël Rémond <mickael.remond@process-one.net>
Mon, 29 Dec 2008 12:06:34 +0000 (12:06 +0000)
SVN Revision: 1764

src/ejabberd_c2s.erl

index 10d323ab7c937c9b8aaa92519a6bf79e2f31f14b..3ad6085d3009af14f7463ae763a7612f64782be8 100644 (file)
@@ -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'