mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Receiving a min user now should not force showing him in the
conversations list by a phone number instead of his name.
This commit is contained in:
@@ -437,6 +437,10 @@ namespace App {
|
||||
|
||||
bool showPhone = !isServiceUser(data->id) && !d.is_self() && !d.is_contact() && !d.is_mutual_contact();
|
||||
bool showPhoneChanged = !isServiceUser(data->id) && !d.is_self() && ((showPhone && data->contact) || (!showPhone && !data->contact));
|
||||
if (minimal) {
|
||||
showPhoneChanged = false;
|
||||
showPhone = !isServiceUser(data->id) && (data->id != peerFromUser(MTP::authedId())) && !data->contact;
|
||||
}
|
||||
|
||||
// see also Local::readPeer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user