mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Don't mass-select service messages in replies.
This commit is contained in:
parent
dd3c8430bf
commit
afd6121cbb
2 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue