forked from famedly/matrix-dart-sdk
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support filter for request history (#66)
- Loading branch information
Showing
3 changed files
with
56 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 4. Support filter for request history | ||
|
||
Date: 2024-12-09 | ||
|
||
## Status | ||
|
||
Accepted | ||
|
||
- Issue: [#1862](https://github.com/linagora/twake-on-matrix/issues/1862) | ||
|
||
## Context | ||
|
||
- The date of the last message in chat list display is not correct. | ||
- The message in chat screen is not displayed correctly so block user by empty screen. | ||
|
||
## Decision | ||
|
||
- Add `StateFilter` to request history to request specific data from the server. | ||
|
||
## Consequences | ||
|
||
- The `timeLine` and `event` can be filtered by the user to get specific data from the server. | ||
- Display the correct message in chat screen. Prevent block user by empty screen. | ||
- In the chat list, we improve the display date time of the last message soon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters