mainview: get call state from API's enumeration
In order to make it work with the translations, call status is no longer passed as a string but as an integer (from enum lrc::api::call::Status).
Gitlab: #10
Change-Id: If8d8b7093fbf82e9b7732e6991eec647ad0d50b7
diff --git a/src/utils.h b/src/utils.h
index f97d0d6..4ffc5f2 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -504,6 +504,7 @@
Q_INVOKABLE void stopPreviewing();
Q_INVOKABLE bool hasVideoCall();
Q_INVOKABLE const QString getCallId(const QString &accountId, const QString &convUid);
+ Q_INVOKABLE const QString getCallStatusStr(int statusInt);
Q_INVOKABLE QString getStringUTF8(QString string);
Q_INVOKABLE bool validateRegNameForm(const QString ®Name);
Q_INVOKABLE QString getRecordQualityString(int value);