mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Add root message display in replies section.
This commit is contained in:
@@ -105,9 +105,7 @@ void SessionNavigation::showRepliesForMessage(
|
||||
const auto channelId = history->channelId();
|
||||
const auto item = _session->data().message(channelId, rootId);
|
||||
if (!item || !item->repliesAreComments()) {
|
||||
if (item->repliesCount() > 0) {
|
||||
showSection(HistoryView::RepliesMemento(history, rootId));
|
||||
}
|
||||
showSection(HistoryView::RepliesMemento(history, rootId));
|
||||
return;
|
||||
} else if (const auto id = item->commentsItemId()) {
|
||||
if (const auto item = _session->data().message(id)) {
|
||||
|
Reference in New Issue
Block a user