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:
parent
89198f5e2d
commit
1f787cc475
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user