diff --git a/modules/m_presence.cc b/modules/m_presence.cc index 920d0b43c..d2676ced4 100644 --- a/modules/m_presence.cc +++ b/modules/m_presence.cc @@ -216,9 +216,12 @@ commit__m_presence(const m::presence &content) if(!exists(user)) create(user.user_id); + m::vm::copts copts; + copts.json = false; + copts.history = false; const m::user::room user_room { - user + user, &copts }; //TODO: ABA diff --git a/modules/media/media.cc b/modules/media/media.cc index eee87a3df..cc40d7fd8 100644 --- a/modules/media/media.cc +++ b/modules/media/media.cc @@ -235,6 +235,7 @@ try m::vm::copts vmopts; vmopts.history = false; + vmopts.json = false; const m::room room { room_id, &vmopts