mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +01:00
modules/client/sync: Fix crazyloading sync property ordering bugging riot. (regression 9836f65c05
)
This commit is contained in:
parent
e7089e8e7f
commit
ac8889b74c
1 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue