1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Fix issue on conversation update

This commit is contained in:
2019-05-01 11:30:55 +02:00
parent 0b1e579a41
commit 9d20c407fc
3 changed files with 20 additions and 2 deletions

View File

@ -143,13 +143,13 @@ class _UpdateConversationScreen extends State<UpdateConversationScreen> {
Future<void> _submitForm() async {
final settings = Conversation(
id: isUpdating ? widget.initialSettings.id : 0,
ownerID: isUpdating ? widget.initialSettings.ownerID : 0,
name: _nameController.text,
following: _followConversation,
members: _members.usersID,
// Give random value to these fields as they are ignored here
lastActive: 0,
ownerID: 0,
sawLastMessage: true);
// Create the conversation