mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 16:34:13 +01:00
modules/client/rooms/invite: Fix event construction.
This commit is contained in:
parent
ef670cc8b9
commit
fe4ce5c130
1 changed files with 2 additions and 1 deletions
|
@ -180,9 +180,10 @@ ircd::m::invite_foreign(const event &event)
|
||||||
response.at(1)
|
response.at(1)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
m::event::id::buf revent_id;
|
||||||
const m::event &revent
|
const m::event &revent
|
||||||
{
|
{
|
||||||
robject.at("event")
|
revent_id, robject.at("event")
|
||||||
};
|
};
|
||||||
|
|
||||||
if(!verify(revent, target.host()))
|
if(!verify(revent, target.host()))
|
||||||
|
|
Loading…
Reference in a new issue