SendMessageToGroupError + Cwtch Version Bump #76

Merged
erinn merged 4 commits from groups into trunk 2021-05-11 00:46:57 +00:00
1 changed files with 5 additions and 3 deletions
Showing only changes of commit 5e8fb26893 - Show all commits

View File

@ -83,9 +83,11 @@ class _MessageViewState extends State<MessageView> {
.SendMessage(Provider.of<ContactInfoState>(context, listen: false).profileOnion, Provider.of<ContactInfoState>(context, listen: false).onion, jsonEncode(cm));
ctrlrCompose.clear();
focusNode.requestFocus();
Provider.of<ContactInfoState>(context, listen: false).totalMessages++;
// Resort the contact list...
Provider.of<ProfileInfoState>(context, listen: false).contactList.updateLastMessageTime(Provider.of<ContactInfoState>(context, listen: false).onion, DateTime.now());
Future.delayed(const Duration(milliseconds: 80), () {
Provider.of<ContactInfoState>(context, listen: false).totalMessages++;
// Resort the contact list...
Provider.of<ProfileInfoState>(context, listen: false).contactList.updateLastMessageTime(Provider.of<ContactInfoState>(context, listen: false).onion, DateTime.now());
});
}
Widget _buildComposeBox() {