Commit da48b714 authored by Zach's avatar Zach
Browse files

Merge pull request #1310 from ctrlaltca/emails

Servatrice: do not disclose user emails to clients
parents 183fbd28 8d325b9e
...@@ -38,7 +38,10 @@ ServerInfo_User &ServerInfo_User_Container::copyUserInfo(ServerInfo_User &result ...@@ -38,7 +38,10 @@ ServerInfo_User &ServerInfo_User_Container::copyUserInfo(ServerInfo_User &result
result.clear_address(); result.clear_address();
} }
if (!internalInfo) if (!internalInfo)
{
result.clear_id(); result.clear_id();
result.clear_email();
}
if (!complete) if (!complete)
result.clear_avatar_bmp(); result.clear_avatar_bmp();
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment