mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge remote-tracking branch 'thenain38/fix-User-display-name-empty'
This commit is contained in:
commit
375c34c079
|
@ -58,6 +58,9 @@ void Friend::loadHistory()
|
||||||
|
|
||||||
void Friend::setName(QString name)
|
void Friend::setName(QString name)
|
||||||
{
|
{
|
||||||
|
if (name.isEmpty())
|
||||||
|
name = userID.publicKey;
|
||||||
|
|
||||||
userName = name;
|
userName = name;
|
||||||
if (userAlias.size() == 0)
|
if (userAlias.size() == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user