Hide forward button in avatar media viewer
This commit is contained in:
parent
7e0112ead6
commit
364a7e5ba8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user