diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-10 18:38:55 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-10 18:38:55 +0200 |
commit | 7b65051e959968fe538f40c975d85757cfcc7df7 (patch) | |
tree | 0aab65bd0f4a577c5b9617b734b42ffdf2488dd5 /lib/room.cpp | |
parent | cade454debdb2305302a142d4d392d5c49d0de75 (diff) | |
download | libquotient-7b65051e959968fe538f40c975d85757cfcc7df7.tar.gz libquotient-7b65051e959968fe538f40c975d85757cfcc7df7.zip |
Fix Room::processAccountDataEvent() return value
Diffstat (limited to 'lib/room.cpp')
-rw-r--r-- | lib/room.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index 763a75fc..ec0ab379 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -2715,9 +2715,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> |