follow-up
This commit is contained in:
parent
3e30204816
commit
dfcc4d11a5
@ -10,6 +10,7 @@ import {attachClickEvent} from '../../helpers/dom/clickEvent';
|
||||
import ControlsHover from '../../helpers/dom/controlsHover';
|
||||
import findUpClassName from '../../helpers/dom/findUpClassName';
|
||||
import {addFullScreenListener, cancelFullScreen, isFullScreen, requestFullScreen} from '../../helpers/dom/fullScreen';
|
||||
import replaceContent from '../../helpers/dom/replaceContent';
|
||||
import MovablePanel from '../../helpers/movablePanel';
|
||||
import onMediaLoad from '../../helpers/onMediaLoad';
|
||||
import themeController from '../../helpers/themeController';
|
||||
|
@ -1575,11 +1575,12 @@ export default class ChatBubbles {
|
||||
if(target.classList.contains('is-receipt-link')) {
|
||||
const message = await this.managers.appMessagesManager.getMessageByPeer(peerId.toPeerId(), +mid);
|
||||
if(message) {
|
||||
new PopupPayment(message as Message.message, this.peerId, +bubble.dataset.mid);
|
||||
const inputInvoice = await this.managers.appPaymentsManager.getInputInvoiceByPeerId(this.peerId, +bubble.dataset.mid);
|
||||
new PopupPayment(message as Message.message, inputInvoice);
|
||||
}
|
||||
} else {
|
||||
this.chat.appImManager.setInnerPeer({
|
||||
peerId: peerId.toPeerId(),
|
||||
peerId: peerId.toPeerId(),
|
||||
lastMsgId: +mid
|
||||
});
|
||||
}
|
||||
|
@ -13,6 +13,7 @@ import AppAddMembersTab from './addMembers';
|
||||
import {_i18n} from '../../../lib/langPack';
|
||||
import ButtonCorner from '../../buttonCorner';
|
||||
import appImManager from '../../../lib/appManagers/appImManager';
|
||||
import {attachClickEvent} from '../../../helpers/dom/clickEvent';
|
||||
|
||||
export default class AppNewChannelTab extends SliderSuperTab {
|
||||
private uploadAvatar: () => Promise<InputFile> = null;
|
||||
|
@ -14,6 +14,7 @@ import I18n from '../../../lib/langPack';
|
||||
import ButtonCorner from '../../buttonCorner';
|
||||
import getUserStatusString from '../../wrappers/getUserStatusString';
|
||||
import appImManager from '../../../lib/appManagers/appImManager';
|
||||
import {attachClickEvent} from '../../../helpers/dom/clickEvent';
|
||||
|
||||
interface OpenStreetMapInterface {
|
||||
place_id?: number;
|
||||
|
Loading…
Reference in New Issue
Block a user