From d1d34e58a60e6378580b4641256231cea68635f8 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 3 Dec 2020 13:13:17 -0800 Subject: [PATCH] modules/client/sync: Use better condition for room data available. --- modules/client/sync/rooms.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/client/sync/rooms.cc b/modules/client/sync/rooms.cc index e95bb7b62..78609aaea 100644 --- a/modules/client/sync/rooms.cc +++ b/modules/client/sync/rooms.cc @@ -57,7 +57,7 @@ ircd::m::sync::rooms_linear(data &data) char membuf[room::MEMBERSHIP_MAX_SIZE]; const string_view &membership { - data.room? + json::get<"room_id"_>(*data.event)? m::membership(membuf, room, data.user): string_view{} };