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:
parent
3f922100af
commit
5f40ed8d8c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user