mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fixdisplaying Pub key when name empty
This commit is contained in:
parent
aa303b24b3
commit
2db1d1449f
|
@ -58,6 +58,9 @@ void Friend::loadHistory()
|
|||
|
||||
void Friend::setName(QString name)
|
||||
{
|
||||
if (name.isEmpty())
|
||||
name = userID.publicKey;
|
||||
|
||||
userName = name;
|
||||
if (userAlias.size() == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user