MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / unreadCountCurrent

Method unreadCountCurrent

Telegram/SourceFiles/data/data_replies_list.cpp:287–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287int RepliesList::unreadCountCurrent() const {
288 return _unreadCount.current().value_or(0);
289}
290
291rpl::producer<std::optional<int>> RepliesList::unreadCountValue() const {
292 return _unreadCount.value();

Callers 6

updateUnreadCountsMethod · 0.45
unreadCountUpdatedMethod · 0.45

Calls 2

value_orMethod · 0.80
currentMethod · 0.45

Tested by

no test coverage detected