2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Rewrite sponsored to use fake sender names.

This commit is contained in:
John Preston
2021-12-31 15:47:23 +03:00
parent 68886e1b61
commit 611be90880
19 changed files with 250 additions and 125 deletions

View File

@@ -42,6 +42,8 @@ class CloudImageView;
int PeerColorIndex(PeerId peerId);
int PeerColorIndex(BareId bareId);
style::color PeerUserpicColor(PeerId peerId);
// Must be used only for PeerColor-s.
PeerId FakePeerIdForJustName(const QString &name);
class RestrictionCheckResult {