mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Show phone number only in the chat top bar.
This commit is contained in:
@@ -716,7 +716,7 @@ void Notification::updateNotifyDisplay() {
|
||||
|
||||
p.setPen(st::dialogsNameFg);
|
||||
if (!options.hideNameAndPhoto) {
|
||||
_history->peer->dialogName().drawElided(p, rectForName.left(), rectForName.top(), rectForName.width());
|
||||
_history->peer->nameText().drawElided(p, rectForName.left(), rectForName.top(), rectForName.width());
|
||||
} else {
|
||||
p.setFont(st::msgNameFont);
|
||||
static QString notifyTitle = st::msgNameFont->elided(qsl("Telegram Desktop"), rectForName.width());
|
||||
|
Reference in New Issue
Block a user