1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +00:00

Fix issue with API output when the private conversation was just created

This commit is contained in:
Pierre HUBERT 2019-05-02 08:19:51 +02:00
parent a80ccb0a9f
commit bc02131045

View File

@ -176,7 +176,7 @@ class ConversationsHelper {
// Get and return conversation ID
try {
return int.parse(response.getObject()["conversationsID"][0]);
return int.parse(response.getObject()["conversationsID"][0].toString());
} catch (e) {
e.toString();
return null;