Checklist
In which Project did the bug appear?
Other
If you selected "Other" as Project, please enter in which project the bug occurred.
No response
On which platform did the bug appear?
Chrome
SDK Version
6.1.1
Describe the problem caused by this bug
I'm working with a project that sends many custom matrix events, so it's common for room's initial sync data to only contain these event types. These are not valid roomPreviewLastEvents, so many rooms have a null lastEvent when refreshLastEvent is called at the end of _handleRooms. This results in an excessive number of calls to the /messages endpoint to manually refresh this value for each room.
Steps To Reproduce
This may be tricky to reproduce, since it's caused by the number of custom events.
- Log into an account that's in many rooms. These room's recent events should not be valid roomPreviewLastEvents
- The SDK will make a request to the /messages endpoint for each of these rooms
Screenshots or Logs
No response
Security related
No response
Checklist
In which Project did the bug appear?
Other
If you selected "Other" as Project, please enter in which project the bug occurred.
No response
On which platform did the bug appear?
Chrome
SDK Version
6.1.1
Describe the problem caused by this bug
I'm working with a project that sends many custom matrix events, so it's common for room's initial sync data to only contain these event types. These are not valid roomPreviewLastEvents, so many rooms have a null lastEvent when refreshLastEvent is called at the end of _handleRooms. This results in an excessive number of calls to the /messages endpoint to manually refresh this value for each room.
Steps To Reproduce
This may be tricky to reproduce, since it's caused by the number of custom events.
Screenshots or Logs
No response
Security related
No response