2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-04 00:15:42 +00:00

Show "View as Messages" preview by Alt+Click.

This commit is contained in:
John Preston
2024-05-31 14:39:35 +04:00
parent ad342a5324
commit 4e8895ddd9
9 changed files with 80 additions and 29 deletions

View File

@@ -1495,6 +1495,8 @@ RowDescriptor InnerWidget::computeChatPreviewRow() const {
: 0;
if (const auto topic = peer->forumTopicFor(topicId)) {
return { topic, FullMsgId() };
} else if (peer->isForum() && !result.key.topic()) {
return {};
}
}
return { result.key, result.message.fullId };