0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

modules/m_receipt: Make event_id in content required.

This commit is contained in:
Jason Volk 2019-07-11 16:20:26 -07:00
parent 673da4df1f
commit f6f71fbbce

View file

@ -508,7 +508,7 @@ try
const json::string &event_id
{
at<"content"_>(event).get("event_id")
at<"content"_>(event).at("event_id")
};
// Lastly, we elide broadcasts of receipts for a user's own message.