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
parent 05bdd5968a
commit 325aed437b
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
# Version 0.7.1 - 2020-02-10
### Fixed
- Replies with correct sender id
# Version 0.7.0 - 2020-02-10
### New features
- Select mode in chat

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];

View File

@ -11,7 +11,7 @@ description: Chat with your friends.
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 0.7.0+20
version: 0.7.1+21
environment:
sdk: ">=2.6.0 <3.0.0"