Remove unused RequestedLatestEvents field

This commit is contained in:
David Robertson 2023-10-02 19:09:06 +01:00
parent 7e4842660c
commit d4bd2a6fba
No known key found for this signature in database
GPG Key ID: 903ECE108A39DEDD

View File

@ -42,10 +42,6 @@ type UserRoomData struct {
HighlightCount int
Invite *InviteData
// this field is set by LazyLoadTimelines and is per-function call, and is not persisted in-memory.
// The zero value of this safe to use (0 latest nid, no prev batch, no timeline).
RequestedLatestEvents state.LatestEvents
// TODO: should CanonicalisedName really be in RoomConMetadata? It's only set in SetRoom AFAICS
CanonicalisedName string // stripped leading symbols like #, all in lower case
// Set of spaces this room is a part of, from the perspective of this user. This is NOT global room data