1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(friendlist): don't update friend's last activity on every start

Fix #5035
This commit is contained in:
Anthony Bilinski 2019-05-16 17:21:18 -07:00
parent 3f922100af
commit 5f40ed8d8c
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -1039,8 +1039,6 @@ void Widget::addFriend(uint32_t friendId, const ToxPk& friendPk)
FilterCriteria filter = getFilterCriteria(); FilterCriteria filter = getFilterCriteria();
widget->search(ui->searchContactText->text(), filterOffline(filter)); widget->search(ui->searchContactText->text(), filterOffline(filter));
updateFriendActivity(newfriend);
} }
void Widget::addFriendFailed(const ToxPk&, const QString& errorInfo) void Widget::addFriendFailed(const ToxPk&, const QString& errorInfo)