mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Destroy comments button when switched off.
This commit is contained in:
@@ -2785,6 +2785,8 @@ int Message::resizeContentGetHeight(int newWidth) {
|
||||
|
||||
if (item->repliesAreComments() || item->externalReply()) {
|
||||
newHeight += st::historyCommentsButtonHeight;
|
||||
} else {
|
||||
_comments = nullptr;
|
||||
}
|
||||
newHeight += viewButtonHeight();
|
||||
} else if (mediaDisplayed) {
|
||||
|
Reference in New Issue
Block a user