# Ability to edit a long sent text

**URL:** <https://forum.delta.chat/t/ability-to-edit-a-long-sent-text/4300>\
**Category:** Feature Proposal\
**Tags:** bug\
**Created:** [November 5, 2025, 4:09am UTC](https://forum.delta.chat/t/ability-to-edit-a-long-sent-text/4300 "2025-11-05T04:09:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DELTA\_MAFIA](https://forum.delta.chat/user_avatar/forum.delta.chat/delta_mafia/32/2624_2.png) [@DELTA\_MAFIA](https://forum.delta.chat/u/DELTA_MAFIA)\
**Post date:** [November 5, 2025, 4:09am UTC](https://forum.delta.chat/t/ability-to-edit-a-long-sent-text/4300/1 "2025-11-05T04:09:11Z")

</div>

## Expected behavior

A long sent text can be edited.

## Actual behavior

A long sent text cannot be edited.

---

<div class="post-metadata">

**Author:** ![WofWca](https://forum.delta.chat/user_avatar/forum.delta.chat/wofwca/32/1702_2.png) [@WofWca](https://forum.delta.chat/u/WofWca)\
**Post date:** [November 6, 2025, 6:39am UTC](https://forum.delta.chat/t/ability-to-edit-a-long-sent-text/4300/2 "2025-11-06T06:39:04Z")

</div>

> ** ~~Looks like this is about editing messages sent a long time ago?~~ **
>
> Same goes for deletion.
> 
> The way things currently are, the other chat participant is basically free to edit and delete the entire conversation from your device at any time.  
> While the deletion of all history could be considered a feature that e.g. also Telegram implements, editing doesn’t make sense. Especially since you cannot even see _when_ the message has been edited.
> 
> ### Implementation
> 
> I think the implementation should be simple: when an edit or deletion request comes in to your device, just reject it if it’s for a message that is N hours old or older.  
> And the same goes for showing the “edit” button.  
> Although there can be synchronization issues if the edit request is delayed, i.e. you edit it on your device, but the other participant’s device later rejects the request when it’s delivered. For this case having a little time margin between the UI and the rejection should improve the situation. That is, show the “edit” button if the message is fresher than 24 hours, but reject the edit request if the message is older than 25 hours.
> 
> This can cause other problems if the recipient’s device is offline for a long time, and both both the message and the edit request come at the same time. Or maybe some other corner cases.  
> But the “edit” feature is, after all, for fixing happy little accidents like typos. It can’t be 100% fool-proof, because you just can’t force someone else’s device to delete something.
> 
> Other open-source E2EE messengers have probably figured this out though, so it’s probably better to look at their implementations rather than listen to me.

---

<div class="post-metadata">

**Author:** ![DELTA\_MAFIA](https://forum.delta.chat/user_avatar/forum.delta.chat/delta_mafia/32/2624_2.png) [@DELTA\_MAFIA](https://forum.delta.chat/u/DELTA_MAFIA)\
**Post date:** [November 6, 2025, 6:54am UTC](https://forum.delta.chat/t/ability-to-edit-a-long-sent-text/4300/3 "2025-11-06T06:54:54Z")

</div>

No, I’m talking about a long message I just sent — I made a typo in it, but I can’t fix it because long messages can’t be edited. There’s simply no such feature. And about the delay time — why make it so complicated? You’re communicating with a trusted person. Many developers and users somehow assume from the start that Delta Chat is meant for talking to scammers, enemies, and so on. Relax.

---

<div class="post-metadata">

**Author:** ![WofWca](https://forum.delta.chat/user_avatar/forum.delta.chat/wofwca/32/1702_2.png) [@WofWca](https://forum.delta.chat/u/WofWca)\
**Post date:** [November 6, 2025, 7:00am UTC](https://forum.delta.chat/t/ability-to-edit-a-long-sent-text/4300/4 "2025-11-06T07:00:58Z")

</div>

The relevant code:

> <https://github.com/deltachat/deltachat-desktop/blob/18c4250ad55f52f91073c84724549dfa13c5322d/packages/frontend/src/components/message/Message.tsx#L283-L294>

`message.hasHtml` is `true` for long messages.

---

<div class="post-metadata">

**Author:** ![DELTA\_MAFIA](https://forum.delta.chat/user_avatar/forum.delta.chat/delta_mafia/32/2624_2.png) [@DELTA\_MAFIA](https://forum.delta.chat/u/DELTA_MAFIA)\
**Post date:** [November 6, 2025, 7:15am UTC](https://forum.delta.chat/t/ability-to-edit-a-long-sent-text/4300/5 "2025-11-06T07:15:57Z")

</div>

Most likely, Delta Chat treats the long message as HTML, so one of the conditions isn’t met.

---

<div class="post-metadata">

**Author:** ![ian](https://forum.delta.chat/user_avatar/forum.delta.chat/ian/32/3164_2.png) [@ian](https://forum.delta.chat/u/ian)\
**Post date:** [March 24, 2026, 5:01pm UTC](https://forum.delta.chat/t/ability-to-edit-a-long-sent-text/4300/6 "2026-03-24T17:01:39Z")

</div>

Related:

> [@Message truncation of edited messages \[missing show more button for recipients\]](https://support.delta.chat/t/message-truncation-of-edited-messages-missing-show-more-button-for-recipients/4919/1):
>
> If the user edits a message, and the edited message is long, the receiver sees a truncated version of the message without the “Show more” option which is normally displayed for long messages, but the sender sees the full message displayed correctly in the chat and therefore thinks it was sent correctly. This is an edge case so I maybe it is not worth fixing properly if it needs much effort, but there is a message integrity issue here because the sender and receiver see two different versions of…
