mirror of
https://github.com/ChronosX88/Influence-cjdns.git
synced 2024-11-23 15:42:18 +00:00
Fixed bug with incorrect json field when creating a chat
This commit is contained in:
parent
c158b9953b
commit
14f478dfec
@ -64,7 +64,7 @@ void Handler::createChatMethod(QJsonObject jsonReceived)
|
|||||||
jsonSend["action"] = "createChatSuccess";
|
jsonSend["action"] = "createChatSuccess";
|
||||||
jsonSend["chatID"] = jsonReceived["chatUUID"].toString();
|
jsonSend["chatID"] = jsonReceived["chatUUID"].toString();
|
||||||
network->sendDatagram(jsonSend, *peerReceiver);
|
network->sendDatagram(jsonSend, *peerReceiver);
|
||||||
emit createChatSuccess(jsonReceived["peerID"].toString(), jsonReceived["chatID"].toString());
|
emit createChatSuccess(jsonReceived["peerID"].toString(), jsonReceived["chatUUID"].toString());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user