mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix issue #43
This commit is contained in:
parent
fac182596b
commit
5211f37d6a
|
@ -75,6 +75,8 @@ void AddFriendForm::onSendTriggered()
|
|||
showWarning("Please fill in a valid Tox ID");
|
||||
} else if (isToxId(id)) {
|
||||
emit friendRequested(id, getMessage());
|
||||
this->toxId.setText("");
|
||||
this->message.setText("");
|
||||
} else {
|
||||
id = id.replace("@", "._tox.");
|
||||
dns.setName(id);
|
||||
|
|
Loading…
Reference in New Issue
Block a user