From ca1fbfec55e3da9e7ddcd1245aa9b9c0045961cf Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 21 May 2018 00:01:28 -0700 Subject: [PATCH] modules/client/rooms/receipt: Add committal from the receipt post handler. --- modules/client/rooms/receipt.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/client/rooms/receipt.cc b/modules/client/rooms/receipt.cc index 4c8a61282..397e75f29 100644 --- a/modules/client/rooms/receipt.cc +++ b/modules/client/rooms/receipt.cc @@ -55,6 +55,11 @@ post__receipt(client &client, url::decode(request.parv[3], event_id) }; + const auto eid + { + m::receipt::read(room_id, request.user_id, event_id) + }; + return resource::response { client, http::OK