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

Fix vcard removal

This commit is contained in:
Badlop 2010-05-11 00:51:24 +02:00
parent 3727e2426d
commit 34bc4da8d8

View File

@ -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}),