mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Show recording indicator.
This commit is contained in:
@@ -54,7 +54,13 @@ public:
|
||||
_title = title;
|
||||
}
|
||||
[[nodiscard]] TimeId recordStartDate() const {
|
||||
return _recordStartDate;
|
||||
return _recordStartDate.current();
|
||||
}
|
||||
[[nodiscard]] rpl::producer<TimeId> recordStartDateValue() const {
|
||||
return _recordStartDate.value();
|
||||
}
|
||||
[[nodiscard]] rpl::producer<TimeId> recordStartDateChanges() const {
|
||||
return _recordStartDate.changes();
|
||||
}
|
||||
|
||||
void setPeer(not_null<PeerData*> peer);
|
||||
@@ -130,7 +136,7 @@ private:
|
||||
base::Timer _speakingByActiveFinishTimer;
|
||||
QString _nextOffset;
|
||||
rpl::variable<int> _fullCount = 0;
|
||||
TimeId _recordStartDate = 0;
|
||||
rpl::variable<TimeId> _recordStartDate = 0;
|
||||
|
||||
base::flat_map<uint32, LastSpokeTimes> _unknownSpokenSsrcs;
|
||||
base::flat_map<PeerId, LastSpokeTimes> _unknownSpokenPeerIds;
|
||||
|
Reference in New Issue
Block a user