mirror of
https://github.com/ChronosX88/Influence-cjdns.git
synced 2024-11-23 15:42:18 +00:00
Fixed the bug when chat was not created when signed up to create a chat.
This commit is contained in:
parent
630f739538
commit
ee60b8b092
@ -64,6 +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());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user