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:
parent
d87ca9fb7b
commit
4bbf16b21a
@ -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 ->
|
||||
|
Loading…
Reference in New Issue
Block a user