mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
@@ -192,6 +192,9 @@ public:
|
||||
void unregisterGroupCall(not_null<GroupCall*> call);
|
||||
GroupCall *groupCall(CallId callId) const;
|
||||
|
||||
void watchForOffline(not_null<UserData*> user, TimeId now = 0);
|
||||
void maybeStopWatchForOffline(not_null<UserData*> user);
|
||||
|
||||
[[nodiscard]] auto invitedToCallUsers(CallId callId) const
|
||||
-> const base::flat_set<not_null<UserData*>> &;
|
||||
void registerInvitedToCallUser(
|
||||
@@ -717,6 +720,7 @@ private:
|
||||
void setupUserIsContactViewer();
|
||||
|
||||
void checkSelfDestructItems();
|
||||
void checkLocalUsersWentOffline();
|
||||
|
||||
void scheduleNextTTLs();
|
||||
void checkTTLs();
|
||||
@@ -976,6 +980,9 @@ private:
|
||||
std::vector<WallPaper> _wallpapers;
|
||||
uint64 _wallpapersHash = 0;
|
||||
|
||||
base::flat_map<not_null<UserData*>, TimeId> _watchingForOffline;
|
||||
base::Timer _watchForOfflineTimer;
|
||||
|
||||
rpl::event_stream<WebViewResultSent> _webViewResultSent;
|
||||
|
||||
Groups _groups;
|
||||
|
Reference in New Issue
Block a user