diff --git a/src/friend.cpp b/src/friend.cpp index 8dd56893d..c0da31901 100644 --- a/src/friend.cpp +++ b/src/friend.cpp @@ -27,6 +27,7 @@ Friend::Friend(int FriendId, QString UserId) hasNewEvents = 0; friendStatus = Status::Offline; userID = ToxID::fromString(UserId); + userName = UserId; } Friend::~Friend()