mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fixed bug in previous commit
This commit is contained in:
parent
5262096b04
commit
9ec2cb1d84
|
@ -40,7 +40,7 @@ void AddFriendForm::onSendTriggered()
|
|||
QString id = toxId.text(), msg = message.toPlainText();
|
||||
if (id.isEmpty())
|
||||
return;
|
||||
if (message.isEmpty())
|
||||
if (msg.isEmpty())
|
||||
msg = "Tox me maybe?";
|
||||
|
||||
emit friendRequested(id, msg);
|
||||
|
|
Loading…
Reference in New Issue
Block a user