0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

modules/client/rooms/invite: Fix event construction.

This commit is contained in:
Jason Volk 2019-07-11 20:07:12 -07:00
parent ef670cc8b9
commit fe4ce5c130

View file

@ -180,9 +180,10 @@ ircd::m::invite_foreign(const event &event)
response.at(1)
};
m::event::id::buf revent_id;
const m::event &revent
{
robject.at("event")
revent_id, robject.at("event")
};
if(!verify(revent, target.host()))