25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Fix list unblocking when Riak is used as a backend

This commit is contained in:
Evgeniy Khramtsov 2014-10-10 11:38:13 +04:00
parent d87ca9fb7b
commit 4bbf16b21a

View File

@ -299,7 +299,8 @@ process_blocklist_unblock_all(LUser, LServer, Filter,
NewList = Filter(List),
NewLists1 = lists:keydelete(Default, 1, Lists),
NewLists = [{Default, NewList} | NewLists1],
case ejabberd_riak:put(P#privacy{lists = NewLists}) of
case ejabberd_riak:put(P#privacy{lists = NewLists},
mod_privacy:privacy_schema()) of
ok ->
{ok, Default, NewList};
Err ->