Skip to content
Snippets Groups Projects
Commit cb7e5396 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

if no name is provided, name = jid

parent 70d41ba7
No related branches found
No related tags found
No related merge requests found
......@@ -2341,7 +2341,10 @@ class plugin:
#TODO if it was the only one in its group, remove the group
return
for user in users:
user.name = array[1]
name = array[1]
if not name:
name = jid
user.name = name
user.sub = array[2]
user.ask = array[3]
user.groups = array[4]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment