0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +01:00

modules/client/sync: Fix crazyloading sync property ordering bugging riot. (regression 9836f65c05)

This commit is contained in:
Jason Volk 2023-03-12 12:45:31 -07:00
parent e7089e8e7f
commit ac8889b74c

View file

@ -183,12 +183,6 @@ ircd::m::sync::rooms_polylog(data &data)
if(data.prefetch) if(data.prefetch)
data.user_rooms.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) if(rooms_polylog_join)
ret |= _rooms_polylog(data, "join", phase); ret |= _rooms_polylog(data, "join", phase);
@ -207,6 +201,12 @@ ircd::m::sync::rooms_polylog(data &data)
if(data.phased && ret) if(data.phased && ret)
return ret; return ret;
if(rooms_polylog_ban)
ret |= _rooms_polylog(data, "ban", phase);
if(data.phased && ret)
return ret;
return ret; return ret;
} }