element-hq / element-hq/synapse

Pagination token may be missing when joining a room over federation

Open
#3,915 0 comments 0 reactions 0 assignees View on GitHub
A-Federated-Join A-Federation A-Sync O-Uncommon S-Minor T-Defect z-bug z-p2
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#3915](https://github.com/matrix-org/synapse/issues/3915).

---

This is the synapse side of https://github.com/vector-im/riot-web/issues/7335.

Looks like there may be some bug where your /sync on joining a remote room does not contain a pagination token, so you can't paginate backwards. If you later re-/sync you get a valid pagination token. It feels like there's a `if len(local dag) == 0: pagination_token = None` somewhere in synapse.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.