From 80365c92075d425b97151af22155b8003dbb7fc8 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 29 Mar 2016 20:57:27 +0300 Subject: [PATCH] Receiving a min user now should not force showing him in the conversations list by a phone number instead of his name. --- Telegram/SourceFiles/app.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Telegram/SourceFiles/app.cpp b/Telegram/SourceFiles/app.cpp index 4887c2681..731a57ee1 100644 --- a/Telegram/SourceFiles/app.cpp +++ b/Telegram/SourceFiles/app.cpp @@ -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