| Summary: | Sent messages cannot be edited more than once. | ||
|---|---|---|---|
| Product: | [Applications] NeoChat | Reporter: | Aaron <mullein> |
| Component: | General | Assignee: | Tobias Fella <fella> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | carl, james.h.graham, josh, tl |
| Priority: | NOR | ||
| Version First Reported In: | 24.08.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/network/neochat/-/commit/cee9058c77957e0cf61d30b55ee179fbd37752a4 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Aaron
2024-11-15 17:29:18 UTC
So editing using the hover button should always work, this is because the issue is the way in which Matrix handles edits. They're actually their own events, they just get hidden by Neochat. If you want to check this for yourself switch on dev tools and click on show hidden events. You'll see that what you second s/ edit is doing is editing the replacement event because Neochat is not properly ignoring it when figuring out the event to edit. A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/2009 Git commit cee9058c77957e0cf61d30b55ee179fbd37752a4 by Carl Schwan, on behalf of James Graham. Committed on 18/11/2024 at 08:41. Pushed by carlschwan into branch 'master'. Fix Sed Edits Make sure that for multiple sed edits we grab the eventID of the original message not the replacement M +7 -2 src/models/actionsmodel.cpp https://invent.kde.org/network/neochat/-/commit/cee9058c77957e0cf61d30b55ee179fbd37752a4 (In reply to James Graham from comment #1) > So editing using the hover button should always work, this is because the > issue is the way in which Matrix handles edits. They're actually their own > events, they just get hidden by Neochat. Perhaps it is the UI that is failing here using the hover button, rather than how Neochat is actually handling the edit. On the second edit just using the hover button, the original text is not displayed in the edit, just the "check" and "x" buttons. *** Bug 498016 has been marked as a duplicate of this bug. *** |