mirror of
https://github.com/matrix-construct/construct
synced 2024-09-27 11:18:51 +02:00
modules/client/rooms/invite: Return better final event_id.
This commit is contained in:
parent
1ab61a11d9
commit
1209705b04
1 changed files with 2 additions and 2 deletions
|
@ -294,12 +294,12 @@ try
|
|||
m::vm::opts vmopts;
|
||||
vmopts.infolog_accept = true;
|
||||
vmopts.unique = false;
|
||||
m::vm::eval
|
||||
m::vm::eval eval
|
||||
{
|
||||
revent, vmopts
|
||||
};
|
||||
|
||||
return revent_id;
|
||||
return eval.event_id;
|
||||
}
|
||||
catch(const std::exception &e)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue