mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 09:40:12 +01:00
modules/client/sync/rooms/timeline: Add comment. [skip ci]
This commit is contained in:
parent
38e924992b
commit
a6efe6986c
1 changed files with 3 additions and 0 deletions
|
@ -114,6 +114,9 @@ ircd::m::sync::room_timeline_linear(data &data)
|
|||
is_own_membership && data.membership == "join"
|
||||
};
|
||||
|
||||
// Branch to backfill the user's timeline before their own join event to
|
||||
// the room. This simply reuses the polylog handler as if they were
|
||||
// initial-syncing the room.
|
||||
if(is_own_join)
|
||||
{
|
||||
const auto last_membership_state_idx
|
||||
|
|
Loading…
Add table
Reference in a new issue