aboutsummaryrefslogtreecommitdiff
path: root/syncapi
diff options
context:
space:
mode:
authorS7evinK <tfaelligen@gmail.com>2021-07-20 10:45:40 +0200
committerGitHub <noreply@github.com>2021-07-20 09:45:40 +0100
commitda2023ba0405bfed197f7e1cdd080380ef60c9f0 (patch)
tree8c5233a0a488e4a0fdc9130817959e7e58348007 /syncapi
parent8d8fe485b455e3e61b9d894d1d08cb06c99a51d2 (diff)
Rename Riot to Element (#1874)
* s/riot/element/g Signed-off-by: Till Faelligen <tfaelligen@gmail.com> * fix formatting Co-authored-by: kegsay <kegan@matrix.org> Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'syncapi')
-rw-r--r--syncapi/routing/messages.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/routing/messages.go b/syncapi/routing/messages.go
index 2ef25e03..9bb8c6d2 100644
--- a/syncapi/routing/messages.go
+++ b/syncapi/routing/messages.go
@@ -393,7 +393,7 @@ func (r *messagesReq) getStartEnd(events []*gomatrixserverlib.HeaderedEvent) (st
start = *r.from
if events[len(events)-1].Type() == gomatrixserverlib.MRoomCreate {
// NOTSPEC: We've hit the beginning of the room so there's really nowhere
- // else to go. This seems to fix Riot iOS from looping on /messages endlessly.
+ // else to go. This seems to fix Element iOS from looping on /messages endlessly.
end = types.TopologyToken{}
} else {
end, err = r.db.EventPositionInTopology(