mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Support slowmode restrictions in Replies section.
This commit is contained in:
@@ -234,7 +234,6 @@ void SessionNavigation::showPeerByLinkResolved(
|
||||
showPeerHistory(peer->id, params, msgId);
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void SessionNavigation::showRepliesForMessage(
|
||||
@@ -246,6 +245,9 @@ void SessionNavigation::showRepliesForMessage(
|
||||
&& _showingRepliesHistory == history.get()
|
||||
&& _showingRepliesRootId == rootId) {
|
||||
return;
|
||||
} else if (!history->peer->asChannel()) {
|
||||
// HistoryView::RepliesWidget right now handles only channels.
|
||||
return;
|
||||
}
|
||||
_session->api().request(base::take(_showingRepliesRequestId)).cancel();
|
||||
|
||||
|
Reference in New Issue
Block a user