Merge branch 'fix/own-chat-messages-disappearing' into 'develop'

fix #1021: own chat messages disappearing

Closes #1021

See merge request pleroma/pleroma-fe!1304
This commit is contained in:
lain 2020-12-03 14:30:25 +00:00
commit 42c747a342
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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]
} }
} }