mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Skipping message date height when scrolling to the unread bar.
This commit is contained in:
@@ -377,11 +377,13 @@ bool History::updateTyping(uint64 ms, bool force) {
|
||||
return changed;
|
||||
}
|
||||
|
||||
ChannelHistory::ChannelHistory(const PeerId &peer) : History(peer),
|
||||
unreadCountAll(0),
|
||||
_onlyImportant(!isMegagroup()),
|
||||
_otherOldLoaded(false), _otherNewLoaded(true),
|
||||
_collapseMessage(0), _joinedMessage(0) {
|
||||
ChannelHistory::ChannelHistory(const PeerId &peer) : History(peer)
|
||||
, unreadCountAll(0)
|
||||
, _onlyImportant(!isMegagroup())
|
||||
, _otherOldLoaded(false)
|
||||
, _otherNewLoaded(true)
|
||||
, _collapseMessage(nullptr)
|
||||
, _joinedMessage(nullptr) {
|
||||
}
|
||||
|
||||
bool ChannelHistory::isSwitchReadyFor(MsgId switchId, MsgId &fixInScrollMsgId, int32 &fixInScrollMsgTop) {
|
||||
|
Reference in New Issue
Block a user