From 7b65051e959968fe538f40c975d85757cfcc7df7 Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Sat, 10 Jul 2021 18:38:55 +0200 Subject: Fix Room::processAccountDataEvent() return value --- lib/room.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/room.cpp') 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 -- cgit v1.2.3