Skip to content

Commit

Permalink
throw away text message on friend request
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed May 26, 2023
1 parent 4ad3151 commit 2707bc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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*>(core)->friendRequestReceived(friendPk, requestMessage);
}

Expand Down

0 comments on commit 2707bc7

Please sign in to comment.