mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Add voice chat indicator in the chats list.
This commit is contained in:
@@ -2181,6 +2181,15 @@ void Session::updateSendActionAnimation(
|
||||
_sendActionAnimationUpdate.fire(std::move(update));
|
||||
}
|
||||
|
||||
auto Session::speakingAnimationUpdated() const
|
||||
-> rpl::producer<not_null<History*>> {
|
||||
return _speakingAnimationUpdate.events();
|
||||
}
|
||||
|
||||
void Session::updateSpeakingAnimation(not_null<History*> history) {
|
||||
_speakingAnimationUpdate.fire_copy(history);
|
||||
}
|
||||
|
||||
int Session::unreadBadge() const {
|
||||
return computeUnreadBadge(_chatsList.unreadState());
|
||||
}
|
||||
|
Reference in New Issue
Block a user