1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-07-03 15:13:29 +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

@ -58,7 +58,14 @@ class ConversationsHelper {
final response = await request.exec();
return response.code == 200;
if(response.code != 200)
return false;
//Delete old conversation entry from the database
await _conversationsDatabaseHelper.delete(settings.id);
// Success
return true;
}
/// Delete a conversation specified by its [id]