aboutsummaryrefslogtreecommitdiff
path: root/src/mod_privacy.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_privacy.erl')
-rw-r--r--src/mod_privacy.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mod_privacy.erl b/src/mod_privacy.erl
index c0cec14c5..31e9f99fd 100644
--- a/src/mod_privacy.erl
+++ b/src/mod_privacy.erl
@@ -445,8 +445,9 @@ parse_items([{xmlelement, "item", Attrs, SubEls} | Els], Res) ->
error ->
false;
JID ->
- I1#listitem{type = jid,
- value = JID}
+ I1#listitem{
+ type = jid,
+ value = jlib:jid_tolower(JID)}
end;
"group" ->
I1#listitem{type = group,