mirror of
https://github.com/matrix-construct/construct
synced 2024-11-15 22:41:12 +01:00
modules/client/rooms/receipt: Add committal from the receipt post handler.
This commit is contained in:
parent
559c2f008c
commit
ca1fbfec55
1 changed files with 5 additions and 0 deletions
|
@ -55,6 +55,11 @@ post__receipt(client &client,
|
||||||
url::decode(request.parv[3], event_id)
|
url::decode(request.parv[3], event_id)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const auto eid
|
||||||
|
{
|
||||||
|
m::receipt::read(room_id, request.user_id, event_id)
|
||||||
|
};
|
||||||
|
|
||||||
return resource::response
|
return resource::response
|
||||||
{
|
{
|
||||||
client, http::OK
|
client, http::OK
|
||||||
|
|
Loading…
Reference in a new issue