Files
new-api-hunter/web/src/components
Apple\Apple a18e90fe88 🐛 fix(message): prevent history loss when retrying imported messages with duplicate IDs
- Use object reference comparison first before falling back to ID matching
- Prevent incorrect message index lookup when duplicate IDs exist
- Apply fix to both handleMessageReset and handleMessageDelete functions
- Maintain backward compatibility with ID-based message identification

Previously, when importing messages that contained duplicate IDs, the
findIndex operation would match the first occurrence rather than the
intended message, causing history truncation on retry. This change uses
object reference comparison as the primary method, ensuring accurate
message identification and preserving conversation history.
2025-06-03 00:32:42 +08:00
..
2025-04-04 17:37:27 +08:00
2025-06-02 00:15:53 +08:00
2025-05-26 22:25:38 +08:00
2025-05-20 23:47:29 +08:00
2025-04-04 17:37:27 +08:00
2025-05-05 23:56:15 +08:00
2025-06-02 00:15:53 +08:00
2025-04-04 17:37:27 +08:00