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:
commit
42c747a342
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