mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Removed all code related to channel comments.
This commit is contained in:
@@ -454,13 +454,6 @@ void ChannelData::flagsUpdated() {
|
||||
if (!mgInfo) {
|
||||
mgInfo = new MegagroupInfo();
|
||||
}
|
||||
if (History *h = App::historyLoaded(id)) {
|
||||
if (h->asChannelHistory()->onlyImportant()) {
|
||||
MsgId fixInScrollMsgId = 0;
|
||||
int32 fixInScrollMsgTop = 0;
|
||||
h->asChannelHistory()->getSwitchReadyFor(SwitchAtTopMsgId, fixInScrollMsgId, fixInScrollMsgTop);
|
||||
}
|
||||
}
|
||||
} else if (mgInfo) {
|
||||
delete mgInfo;
|
||||
mgInfo = 0;
|
||||
|
||||
Reference in New Issue
Block a user