25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

* src/ejabberd_c2s.erl: Bugfix (thanks to Sergei Golovan)

SVN Revision: 521
This commit is contained in:
Alexey Shchepin 2006-03-18 20:10:56 +00:00
parent a6b3e6c904
commit 89e57d421e
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2006-03-18 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_c2s.erl: Bugfix (thanks to Sergei Golovan)
2006-03-17 Alexey Shchepin <alexey@sevcom.net>
* src/mod_privacy.erl: Fixed privacy list pushing (thanks to

View File

@ -1016,7 +1016,6 @@ handle_info({route, From, To, Packet}, StateName, StateData) ->
[{exit, Reason}] ->
{exit, Attrs, Reason};
[{privacy_list, PrivList, PrivListName}] ->
{false, Attrs,
case catch mod_privacy:updated_list(
StateData#state.privacy_list,
PrivList) of
@ -1038,8 +1037,8 @@ handle_info({route, From, To, Packet}, StateName, StateData) ->
StateData#state.jid,
jlib:iq_to_xml(PrivPushIQ)),
send_element(StateData, PrivPushEl),
StateData#state{privacy_list = NewPL}
end};
{false, Attrs, StateData#state{privacy_list = NewPL}}
end;
_ ->
{false, Attrs, StateData}
end;