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

Support sharing games by link to topics.

This commit is contained in:
John Preston
2022-11-01 13:00:17 +04:00
parent 83ec449890
commit 7384cd3463
16 changed files with 152 additions and 122 deletions

View File

@@ -365,7 +365,7 @@ void FakeRow::invalidateTopic() {
if (_topic) {
return;
} else if (const auto rootId = _item->topicRootId()) {
if (const auto forum = _item->history()->peer->forum()) {
if (const auto forum = _item->history()->asForum()) {
if (!forum->topicDeleted(rootId)) {
forum->requestTopic(rootId, crl::guard(this, [=] {
_topic = _item->topic();