mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Fix vcard removal
This commit is contained in:
parent
3727e2426d
commit
34bc4da8d8
@ -657,8 +657,8 @@ reindex_vcards() ->
|
||||
|
||||
|
||||
remove_user(User, Server) when is_binary(User), is_binary(Server) ->
|
||||
LUser = exmpp_stringprep:nodeprep(User),
|
||||
LServer = exmpp_stringprep:nameprep(Server),
|
||||
LUser = binary_to_list(exmpp_stringprep:nodeprep(User)),
|
||||
LServer = binary_to_list(exmpp_stringprep:nameprep(Server)),
|
||||
US = {LUser, LServer},
|
||||
F = fun() ->
|
||||
mnesia:delete({vcard, US}),
|
||||
|
Loading…
Reference in New Issue
Block a user