diff --git a/modules/client/sync/rooms.cc b/modules/client/sync/rooms.cc index c2e3c1d5a..d7a04c31f 100644 --- a/modules/client/sync/rooms.cc +++ b/modules/client/sync/rooms.cc @@ -183,12 +183,6 @@ ircd::m::sync::rooms_polylog(data &data) if(data.prefetch) data.user_rooms.prefetch(); - if(rooms_polylog_ban) - ret |= _rooms_polylog(data, "ban", phase); - - if(data.phased && ret) - return ret; - if(rooms_polylog_join) ret |= _rooms_polylog(data, "join", phase); @@ -207,6 +201,12 @@ ircd::m::sync::rooms_polylog(data &data) if(data.phased && ret) return ret; + if(rooms_polylog_ban) + ret |= _rooms_polylog(data, "ban", phase); + + if(data.phased && ret) + return ret; + return ret; }