[SDK] Latest previewable event always return failed local event #2069
Unanswered
BogatovOleg
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I'm using matrix-sdk in my project and i got some problem with showing last message in room list. I'm trying to show last message of room in room list and it shows failed message (local echo). I'am getting last message from roomSummary.latestPreviewableEvent, but it always return failed message. I think it's database problem because local message doesn't have timestamp. Maybe it's because database sort messages by timestamp and messages without timestamp locate in end of the list. How i can resolve this problem?
as is: shows failed message of room(local echo)
to be: shows last message of room
Beta Was this translation helpful? Give feedback.
All reactions