diff --git a/qml/js/functions.js b/qml/js/functions.js index 6a6a587..d63394b 100644 --- a/qml/js/functions.js +++ b/qml/js/functions.js @@ -302,6 +302,12 @@ function enhanceMessageText(formattedText, ignoreEntities) { { offset: (entity.offset + entity.length), insertionString: "", removeLength: 0 } ); break; + case "textEntityTypeStrikethrough": + messageInsertions.push( + { offset: entity.offset, insertionString: "", removeLength: 0 }, + { offset: (entity.offset + entity.length), insertionString: "", removeLength: 0 } + ); + break; case "textEntityTypeMention": messageInsertions.push( { offset: entity.offset, insertionString: "", removeLength: 0 },