Skip to content

Commit

Permalink
Fix Room::processAccountDataEvent() return value
Browse files Browse the repository at this point in the history
(cherry picked from commit 7b65051)
(cherry picked from commit 9edfefe)
  • Loading branch information
KitsuneRal committed Jul 11, 2021
1 parent 74dda96 commit adb6725
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/room.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2766,9 +2766,9 @@ Room::Changes Room::processAccountDataEvent(EventPtr&& event)
qCDebug(STATE) << "Updated account data of type"
<< currentData->matrixType();
emit accountDataChanged(currentData->matrixType());
return Change::AccountDataChange;
changes |= Change::AccountDataChange;
}
return Change::NoChange;
return changes;
}

template <typename ContT>
Expand Down

0 comments on commit adb6725

Please sign in to comment.