mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 16:15:13 +00:00
Fix -Wlogical-op-parentheses
This commit is contained in:
@@ -3242,8 +3242,8 @@ void ApiWrap::forwardMessages(
|
|||||||
const auto newGroupId = item->groupId();
|
const auto newGroupId = item->groupId();
|
||||||
if (item != draft.items.front() &&
|
if (item != draft.items.front() &&
|
||||||
((draft.groupOptions == Data::GroupingOptions::GroupAsIs
|
((draft.groupOptions == Data::GroupingOptions::GroupAsIs
|
||||||
&& (forwardGroupId != newGroupId || forwardFrom != newFrom)
|
&& (forwardGroupId != newGroupId || forwardFrom != newFrom))
|
||||||
|| draft.groupOptions == Data::GroupingOptions::Separate))) {
|
|| draft.groupOptions == Data::GroupingOptions::Separate)) {
|
||||||
sendAccumulated();
|
sendAccumulated();
|
||||||
forwardFrom = newFrom;
|
forwardFrom = newFrom;
|
||||||
forwardGroupId = newGroupId;
|
forwardGroupId = newGroupId;
|
||||||
|
Reference in New Issue
Block a user