aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-05-09 12:03:09 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-07-11 11:58:23 +0200
commit0d52a733176fb3cb21daad12cf0a44178553d48b (patch)
treefd2e3d535814364608bd9e07a868c41a5826f5e8 /lib
parent982e2665d141a948a30d9092d588b35875fee7d6 (diff)
downloadlibquotient-0d52a733176fb3cb21daad12cf0a44178553d48b.tar.gz
libquotient-0d52a733176fb3cb21daad12cf0a44178553d48b.zip
Reuse Room::setState() overloads from one another
Diffstat (limited to 'lib')
-rw-r--r--lib/room.cpp3
1 files changed, 1 insertions, 2 deletions
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,