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

Function IsUnreadThread

Telegram/SourceFiles/window/window_peer_menu.cpp:4311–4313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4309}
4310
4311bool IsUnreadThread(not_null<Data::Thread*> thread) {
4312 return thread->chatListBadgesState().unread;
4313}
4314
4315void MarkAsReadThread(not_null<Data::Thread*> thread) {
4316 const auto readHistory = [&](not_null<History*> history) {

Callers 5

addToggleUnreadMarkMethod · 0.85
MarkAsReadThreadFunction · 0.85
PerformQuickDialogActionFunction · 0.85
ResolveQuickDialogLabelFunction · 0.85
setupShortcutsMethod · 0.85

Calls 1

chatListBadgesStateMethod · 0.45

Tested by

no test coverage detected