Fix dialog row updating on user online status change.

Regression was introduced in ed895ace66.

Fixes #6410. Again. I hope.
This commit is contained in:
John Preston 2022-11-07 15:11:15 +04:00
parent 991fe491c5
commit 9a54473e03

View file

@ -3320,7 +3320,7 @@ void InnerWidget::repaintDialogRowCornerStatus(not_null<History*> history) {
} }
void InnerWidget::userOnlineUpdated(not_null<UserData*> user) { void InnerWidget::userOnlineUpdated(not_null<UserData*> user) {
if (!user->isSelf()) { if (user->isSelf()) {
return; return;
} }
const auto history = session().data().historyLoaded(user); const auto history = session().data().historyLoaded(user);