diff --git a/modules/client/rooms/invite.cc b/modules/client/rooms/invite.cc index 66dab05ae..85bada407 100644 --- a/modules/client/rooms/invite.cc +++ b/modules/client/rooms/invite.cc @@ -279,7 +279,7 @@ try revent, vmopts }; - return revent.event_id; + return revent_id; } catch(const std::exception &e) {