forked from AkkomaGang/akkoma-fe
fix your own chat messages disappearing
This commit is contained in:
parent
fdfb8810c1
commit
2427757184
2 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
- Fixed custom emoji not working in profile field names
|
- Fixed custom emoji not working in profile field names
|
||||||
- Fixed pinned statuses not appearing in user profiles
|
- Fixed pinned statuses not appearing in user profiles
|
||||||
- Fixed some elements not being keyboard navigation friendly
|
- Fixed some elements not being keyboard navigation friendly
|
||||||
|
- Fixed your latest chat messages disappearing when closing chat view and opening it again during the same session
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Errors when fetching are now shown with popup errors instead of "Error fetching updates" in panel headers
|
- Errors when fetching are now shown with popup errors instead of "Error fetching updates" in panel headers
|
||||||
|
|
|
@ -21,7 +21,7 @@ const clear = (storage) => {
|
||||||
failedMessageIds.push(message.id)
|
failedMessageIds.push(message.id)
|
||||||
} else {
|
} else {
|
||||||
delete storage.idIndex[message.id]
|
delete storage.idIndex[message.id]
|
||||||
delete storage.idempotencyKeyIndex[message.id]
|
delete storage.idempotencyKeyIndex[message.idempotency_key]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue