Skip to content
Snippets Groups Projects
Commit a7bdbe40 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Don't publish realname when same as alias

parent d0af1619
No related branches found
No related tags found
No related merge requests found
......@@ -378,7 +378,7 @@ function export_users(msgbase, realnames, all)
if(!list[data])
list[data] = [];
list[data].push(u.alias);
if(realnames)
if(realnames && u.name != u.alias)
list[data].push(u.name);
}
avatar.last_exported = new Date();
......
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