mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 22:39:22 +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
|
// Get and return conversation ID
|
||||||
try {
|
try {
|
||||||
return int.parse(response.getObject()["conversationsID"][0]);
|
return int.parse(response.getObject()["conversationsID"][0].toString());
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
e.toString();
|
e.toString();
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user