1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(popup): Don't create two error popups for friend requests

Fixes #4633
This commit is contained in:
anthony.bilinski 2017-09-06 19:34:17 -07:00
parent 89198f5e2d
commit 1f787cc475

View File

@ -592,6 +592,7 @@ void Core::requestFriendship(const ToxId& friendId, const QString& message)
if (!errorMessage.isNull()) {
emit failedToAddFriend(friendPk, errorMessage);
profile.saveToxSave();
return;
}
ToxString cMessage(message);