2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Removed username from public data members of ChannelData.

This commit is contained in:
23rd
2022-10-05 13:40:31 +03:00
committed by John Preston
parent 38f5cda800
commit 9b7329b378
8 changed files with 33 additions and 19 deletions

View File

@@ -686,7 +686,7 @@ QString ApiWrap::exportDirectMessageLink(
}
}
const auto base = linkChannel->hasUsername()
? linkChannel->username
? linkChannel->username()
: "c/" + QString::number(peerToChannel(linkChannel->id).bare);
const auto query = base
+ '/'