mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
mod_privacy & friends may return an empty list.
PR: EJABP-1 Submitted by: Pablo Polvorin <pablo.polvorin@process-one.net> SVN Revision: 1603
This commit is contained in:
parent
028a3c2ded
commit
01da93bf70
@ -4,6 +4,9 @@
|
||||
on #iq.type instead of #iq.kind, resulting in bad-request sent to the
|
||||
client.
|
||||
|
||||
* src/ejabberd_c2s.erl (process_privacy_iq/4): mod_privacy & friends
|
||||
may return an empty list. Thanks to Pablo Polvorin!
|
||||
|
||||
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
|
||||
|
@ -1765,6 +1765,8 @@ process_privacy_iq(From, To,
|
||||
end,
|
||||
IQRes =
|
||||
case Res of
|
||||
{result, []} ->
|
||||
exmpp_iq:result(IQ_Rec);
|
||||
{result, Result} ->
|
||||
exmpp_iq:result(IQ_Rec, Result);
|
||||
{error, Error} ->
|
||||
|
Loading…
Reference in New Issue
Block a user