Skip to content

Commit

Permalink
cannot edit html messages
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Feb 24, 2025
1 parent 13de767 commit 4358141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deltachat-ios/Chat/ChatViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1918,7 +1918,7 @@ extension ChatViewController {
UIAction.menuAction(localizationKey: "forward", systemImageName: "arrowshape.turn.up.forward", indexPath: indexPath, action: forward)
)

if message.isFromCurrentSender && message.hasText && !message.isMarkerOrInfo && dcChat.canSend {
if message.isFromCurrentSender && message.hasText && !message.hasHtml && !message.isMarkerOrInfo && dcChat.canSend {
children.append(
UIAction.menuAction(localizationKey: "global_menu_edit_desktop", systemImageName: "pencil", indexPath: indexPath, action: editSentMessage)
)
Expand Down

0 comments on commit 4358141

Please sign in to comment.