0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-27 19:28:52 +02:00

modules/client/rooms/receipt: Add committal from the receipt post handler.

This commit is contained in:
Jason Volk 2018-05-21 00:01:28 -07:00
parent 559c2f008c
commit ca1fbfec55

View file

@ -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