mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +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(
|
bool PinnedWidget::listIsItemGoodForSelection(
|
||||||
not_null<HistoryItem*> item) {
|
not_null<HistoryItem*> item) {
|
||||||
return item->isRegular();
|
return item->isRegular() && !item->isService();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PinnedWidget::listIsLessInOrder(
|
bool PinnedWidget::listIsLessInOrder(
|
||||||
|
|
|
@ -2309,7 +2309,7 @@ bool RepliesWidget::listAllowsMultiSelect() {
|
||||||
|
|
||||||
bool RepliesWidget::listIsItemGoodForSelection(
|
bool RepliesWidget::listIsItemGoodForSelection(
|
||||||
not_null<HistoryItem*> item) {
|
not_null<HistoryItem*> item) {
|
||||||
return item->isRegular();
|
return item->isRegular() && !item->isService();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool RepliesWidget::listIsLessInOrder(
|
bool RepliesWidget::listIsLessInOrder(
|
||||||
|
|
Loading…
Add table
Reference in a new issue