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

Moved type of call id to alias.

This commit is contained in:
23rd
2021-10-25 00:33:53 +03:00
committed by John Preston
parent 08939ac51d
commit 70e9b4a332
11 changed files with 32 additions and 31 deletions

View File

@@ -164,18 +164,18 @@ public:
void registerGroupCall(not_null<GroupCall*> call);
void unregisterGroupCall(not_null<GroupCall*> call);
GroupCall *groupCall(uint64 callId) const;
GroupCall *groupCall(CallId callId) const;
[[nodiscard]] auto invitedToCallUsers(uint64 callId) const
[[nodiscard]] auto invitedToCallUsers(CallId callId) const
-> const base::flat_set<not_null<UserData*>> &;
void registerInvitedToCallUser(
uint64 callId,
CallId callId,
not_null<PeerData*> peer,
not_null<UserData*> user);
void unregisterInvitedToCallUser(uint64 callId, not_null<UserData*> user);
void unregisterInvitedToCallUser(CallId callId, not_null<UserData*> user);
struct InviteToCall {
uint64 id = 0;
CallId id = 0;
not_null<UserData*> user;
};
[[nodiscard]] rpl::producer<InviteToCall> invitesToCalls() const {