diff --git a/src/components/appMediaViewer.ts b/src/components/appMediaViewer.ts index 66b6f0bd..2afd3776 100644 --- a/src/components/appMediaViewer.ts +++ b/src/components/appMediaViewer.ts @@ -1492,6 +1492,8 @@ export default class AppMediaViewer extends AppMediaViewerBase<'caption', 'delet const fromId = message.fromId; const media = this.getMediaFromMessage(message); + this.buttons.forward.classList.toggle('hide', message._ === 'messageService'); + this.currentMessageId = mid; this.currentPeerId = message.peerId; const promise = super._openMedia(media, message.date, fromId, fromRight, target, reverse, prevTargets, nextTargets, needLoadMore);