Start distant chat using helper on ChatCache

This commit is contained in:
Angela Mazzurco 2017-07-21 18:34:44 +02:00
parent f77fe533e7
commit c27db173ce
3 changed files with 39 additions and 16 deletions

View file

@ -132,13 +132,6 @@ Item
rsApi.request("/chat/unread_msgs", "", refreshUnreadCallback)
}
function startChatCallback(par)
{
var chId = JSON.parse(par.response).data.chat_id
stackView.push("qrc:/ChatView.qml", {'chatId': chId})
}
/** This must be equivalent to
p3GxsTunnelService::makeGxsTunnelId(...) */
function getChatId(from_gxs, to_gxs)