mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Unread outgoing messages in supergroups supported.
Looking through the history of group avatar photos added. Messages about some contact joined Telegram are never unread.
This commit is contained in:
@@ -1734,11 +1734,11 @@ namespace {
|
||||
}
|
||||
|
||||
History *history(const PeerId &peer) {
|
||||
return ::histories.findOrInsert(peer, 0, 0);
|
||||
return ::histories.findOrInsert(peer, 0, 0, 0);
|
||||
}
|
||||
|
||||
History *historyFromDialog(const PeerId &peer, int32 unreadCnt, int32 maxInboxRead) {
|
||||
return ::histories.findOrInsert(peer, unreadCnt, maxInboxRead);
|
||||
History *historyFromDialog(const PeerId &peer, int32 unreadCnt, int32 maxInboxRead, int32 maxOutboxRead) {
|
||||
return ::histories.findOrInsert(peer, unreadCnt, maxInboxRead, maxOutboxRead);
|
||||
}
|
||||
|
||||
History *historyLoaded(const PeerId &peer) {
|
||||
|
Reference in New Issue
Block a user