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

Create / move forum topics on new messages.

This commit is contained in:
John Preston
2022-09-23 23:21:31 +04:00
parent 388fe6adfb
commit eaf679916a
19 changed files with 155 additions and 58 deletions

View File

@@ -32,6 +32,7 @@ class Session;
namespace Data {
class Forum;
class Session;
class GroupCall;
class CloudImageView;
@@ -195,6 +196,8 @@ public:
return isUser() && !(id.value % 1000);
}
[[nodiscard]] Data::Forum *forum() const;
[[nodiscard]] std::optional<TimeId> notifyMuteUntil() const {
return _notify.muteUntil();
}