Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2707bc7

Browse files
committedMay 26, 2023
throw away text message on friend request
1 parent 4ad3151 commit 2707bc7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/core/core.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,9 @@ void Core::onFriendRequest(Tox* tox, const uint8_t* cFriendPk, const uint8_t* cM
474474
{
475475
std::ignore = tox;
476476
ToxPk friendPk(cFriendPk);
477-
QString requestMessage = ToxString(cMessage, cMessageSize).getQString();
477+
std::ignore = cMessage;
478+
std::ignore = cMessageSize;
479+
QString requestMessage = QString(""); // ToxString(cMessage, cMessageSize).getQString();
478480
emit static_cast<Core*>(core)->friendRequestReceived(friendPk, requestMessage);
479481
}
480482

0 commit comments

Comments
 (0)
Please sign in to comment.