2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Support t.me/+phonenumber links.

This commit is contained in:
John Preston
2022-03-01 14:44:29 +03:00
parent f7957a8903
commit bea2cfd363
6 changed files with 81 additions and 21 deletions

View File

@@ -190,6 +190,7 @@ public:
void enumerateUsers(Fn<void(not_null<UserData*>)> action) const;
void enumerateGroups(Fn<void(not_null<PeerData*>)> action) const;
void enumerateChannels(Fn<void(not_null<ChannelData*>)> action) const;
[[nodiscard]] UserData *userByPhone(const QString &phone) const;
[[nodiscard]] PeerData *peerByUsername(const QString &username) const;
[[nodiscard]] not_null<History*> history(PeerId peerId);