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:
parent
a80ccb0a9f
commit
bc02131045
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user