Don't mass-select service messages in replies.

This commit is contained in:
John Preston 2022-11-01 11:29:26 +04:00
parent dd3c8430bf
commit afd6121cbb
2 changed files with 2 additions and 2 deletions

View file

@ -510,7 +510,7 @@ bool PinnedWidget::listAllowsMultiSelect() {
bool PinnedWidget::listIsItemGoodForSelection(
not_null<HistoryItem*> item) {
return item->isRegular();
return item->isRegular() && !item->isService();
}
bool PinnedWidget::listIsLessInOrder(

View file

@ -2309,7 +2309,7 @@ bool RepliesWidget::listAllowsMultiSelect() {
bool RepliesWidget::listIsItemGoodForSelection(
not_null<HistoryItem*> item) {
return item->isRegular();
return item->isRegular() && !item->isService();
}
bool RepliesWidget::listIsLessInOrder(