Update lib/views/chat.dart, CHANGELOG.md, pubspec.yaml files

This commit is contained in:
Christian Pauly 2020-02-10 16:54:10 +00:00
commit 325aed437b
3 changed files with 6 additions and 2 deletions

View file

@ -153,7 +153,7 @@ class _ChatState extends State<_Chat> {
"body": sendController.text,
};
if (replyEvent != null) {
String replyText = ("<${room.client.userID}> " + replyEvent.body);
String replyText = ("<${replyEvent.senderId}> " + replyEvent.body);
List<String> replyTextLines = replyText.split("\n");
for (int i = 0; i < replyTextLines.length; i++) {
replyTextLines[i] = "> " + replyTextLines[i];