Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(popup): Don't create two error popups for friend requests
Browse files Browse the repository at this point in the history
Fixes #4633
  • Loading branch information
anthonybilinski committed Sep 7, 2017
1 parent 89198f5 commit 1f787cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1f787cc

Please sign in to comment.