diff --git a/src/core/core.cpp b/src/core/core.cpp index be329f5b55..1802b8374f 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -474,7 +474,9 @@ void Core::onFriendRequest(Tox* tox, const uint8_t* cFriendPk, const uint8_t* cM { std::ignore = tox; ToxPk friendPk(cFriendPk); - QString requestMessage = ToxString(cMessage, cMessageSize).getQString(); + std::ignore = cMessage; + std::ignore = cMessageSize; + QString requestMessage = QString(""); // ToxString(cMessage, cMessageSize).getQString(); emit static_cast(core)->friendRequestReceived(friendPk, requestMessage); }