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

Merge pull request #4634

anthony.bilinski (1):
      fix(popup): Don't create two error popups for friend requests
This commit is contained in:
Diadlo 2017-09-09 22:31:25 +03:00
commit 549738dc9e
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727

View File

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