|
|
@ -35,6 +35,11 @@ Friend::Friend(int FriendId, const ToxID &UserId) |
|
|
|
|
|
|
|
|
|
|
|
widget = new FriendWidget(friendId, getDisplayedName()); |
|
|
|
widget = new FriendWidget(friendId, getDisplayedName()); |
|
|
|
chatForm = new ChatForm(this); |
|
|
|
chatForm = new ChatForm(this); |
|
|
|
|
|
|
|
if (Settings::getInstance().getEnableLogging()) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
chatForm->loadHistory(QDateTime::currentDateTime().addDays(-7), true); |
|
|
|
|
|
|
|
widget->historyLoaded = true; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Friend::~Friend() |
|
|
|
Friend::~Friend() |
|
|
|