mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Added behavior to hide spoilers when switching sections.
This commit is contained in:
@@ -998,6 +998,10 @@ void HistoryService::setServiceText(const PreparedText &prepared) {
|
||||
_textHeight = 0;
|
||||
}
|
||||
|
||||
void HistoryService::hideSpoilers() {
|
||||
HistoryView::HideSpoilers(_text);
|
||||
}
|
||||
|
||||
void HistoryService::markMediaAsReadHook() {
|
||||
if (const auto selfdestruct = Get<HistoryServiceSelfDestruct>()) {
|
||||
if (!selfdestruct->destructAt) {
|
||||
|
Reference in New Issue
Block a user