mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 00:25:17 +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