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:
commit
549738dc9e
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user