mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Fix a bug where we were matching on #iq.type instead of #iq.kind,
resulting in bad-request sent to the client. PR: EJABP-1 SVN Revision: 1602
This commit is contained in:
parent
1698b8ec04
commit
028a3c2ded
@ -1,3 +1,9 @@
|
|||||||
|
2008-10-06 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
||||||
|
|
||||||
|
* src/ejabberd_sm.erl (process_iq/3): Fix a bug where we were matching
|
||||||
|
on #iq.type instead of #iq.kind, resulting in bad-request sent to the
|
||||||
|
client.
|
||||||
|
|
||||||
2008-10-02 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
2008-10-02 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
|
||||||
|
|
||||||
* src/mod_roster_odbc.erl: Fix a bug where a JID represented as a
|
* src/mod_roster_odbc.erl: Fix a bug where a JID represented as a
|
||||||
|
@ -661,7 +661,7 @@ process_iq(From, To, Packet) ->
|
|||||||
Err = exmpp_iq:error(Packet, 'service-unavailable'),
|
Err = exmpp_iq:error(Packet, 'service-unavailable'),
|
||||||
ejabberd_router:route(To, From, Err)
|
ejabberd_router:route(To, From, Err)
|
||||||
end;
|
end;
|
||||||
#iq{type = response} ->
|
#iq{kind = response} ->
|
||||||
ok;
|
ok;
|
||||||
_ ->
|
_ ->
|
||||||
Err = exmpp_iq:error(Packet, 'bad-request'),
|
Err = exmpp_iq:error(Packet, 'bad-request'),
|
||||||
|
Loading…
Reference in New Issue
Block a user