| 1583 | } |
| 1584 | |
| 1585 | void Session::userIsBotChanged(not_null<UserData*> user) { |
| 1586 | if (const auto history = this->history(user)) { |
| 1587 | chatsFilters().refreshHistory(history); |
| 1588 | } |
| 1589 | _userIsBotChanges.fire_copy(user); |
| 1590 | } |
| 1591 | |
| 1592 | rpl::producer<not_null<UserData*>> Session::userIsBotChanges() const { |
| 1593 | return _userIsBotChanges.events(); |
no test coverage detected