diff --git a/lib/room.cpp b/lib/room.cpp index c314fc726..0984bd964 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -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