Servatrice: do not disclose user emails to clients
This commit is contained in:
parent
183fbd2805
commit
8d325b9e19
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue