mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
d196611ffe
commit
efcff57601
|
@ -225,7 +225,7 @@ void AddFriendForm::setIdFromClipboard()
|
|||
const Core* core = Core::getInstance();
|
||||
if (core->isReady() && !id.isEmpty()
|
||||
&& ToxId::isToxId(id)
|
||||
&& ToxId(id) == core->getSelfId())
|
||||
&& ToxId(id) != core->getSelfId())
|
||||
{
|
||||
toxId.setText(id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user