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:
parent
673da4df1f
commit
f6f71fbbce
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ try
|
||||||
|
|
||||||
const json::string &event_id
|
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.
|
// Lastly, we elide broadcasts of receipts for a user's own message.
|
||||||
|
|
Loading…
Reference in a new issue