From 0d52a733176fb3cb21daad12cf0a44178553d48b Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Mon, 9 May 2022 12:03:09 +0200 Subject: Reuse Room::setState() overloads from one another --- lib/room.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/room.cpp b/lib/room.cpp index 35a89cc6..2625105c 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -2263,8 +2263,7 @@ QString Room::postJson(const QString& matrixType, SetRoomStateWithKeyJob* Room::setState(const StateEventBase& evt) { - return d->requestSetState(evt.matrixType(), evt.stateKey(), - evt.contentJson()); + return setState(evt.matrixType(), evt.stateKey(), evt.contentJson()); } SetRoomStateWithKeyJob* Room::setState(const QString& evtType, -- cgit v1.2.3