diff --git a/lib/views/chat.dart b/lib/views/chat.dart index cac0398..9631e7b 100644 --- a/lib/views/chat.dart +++ b/lib/views/chat.dart @@ -153,7 +153,12 @@ class _ChatState extends State<_Chat> { "body": sendController.text, }; if (replyEvent != null) { - String replyText = ("<${replyEvent.senderId}> " + replyEvent.body); + String replyText = "<${replyEvent.senderId}> " + + replyEvent.getLocalizedBody( + context, + withSenderNamePrefix: false, + hideQuotes: true, + ); List replyTextLines = replyText.split("\n"); for (int i = 0; i < replyTextLines.length; i++) { replyTextLines[i] = "> " + replyTextLines[i];