2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix -Wlogical-op-parentheses

This commit is contained in:
Ilya Fedin
2021-12-10 18:51:19 +04:00
parent c11760d140
commit 7c712a1b5c

View File

@@ -3242,8 +3242,8 @@ void ApiWrap::forwardMessages(
const auto newGroupId = item->groupId();
if (item != draft.items.front() &&
((draft.groupOptions == Data::GroupingOptions::GroupAsIs
&& (forwardGroupId != newGroupId || forwardFrom != newFrom)
|| draft.groupOptions == Data::GroupingOptions::Separate))) {
&& (forwardGroupId != newGroupId || forwardFrom != newFrom))
|| draft.groupOptions == Data::GroupingOptions::Separate)) {
sendAccumulated();
forwardFrom = newFrom;
forwardGroupId = newGroupId;