Browse Source

Remove debug

master
Eduard Kuzmenko 4 years ago
parent
commit
d8621b20eb
  1. 7
      src/components/chat/bubbles.ts

7
src/components/chat/bubbles.ts

@ -69,7 +69,6 @@ import whichChild from "../../helpers/dom/whichChild";
import { cancelAnimationByKey } from "../../helpers/animation"; import { cancelAnimationByKey } from "../../helpers/animation";
import assumeType from "../../helpers/assumeType"; import assumeType from "../../helpers/assumeType";
import { EmoticonsDropdown } from "../emoticonsDropdown"; import { EmoticonsDropdown } from "../emoticonsDropdown";
import appDocsManager from "../../lib/appManagers/appDocsManager";
const USE_MEDIA_TAILS = false; const USE_MEDIA_TAILS = false;
const IGNORE_ACTIONS: Set<Message.messageService['action']['_']> = new Set([ const IGNORE_ACTIONS: Set<Message.messageService['action']['_']> = new Set([
@ -719,7 +718,7 @@ export default class ChatBubbles {
this.log('will readHistory by maxId:', maxId); this.log('will readHistory by maxId:', maxId);
} }
return; // return;
return this.appMessagesManager.readHistory(this.peerId, maxId, this.chat.threadId).catch((err: any) => { return this.appMessagesManager.readHistory(this.peerId, maxId, this.chat.threadId).catch((err: any) => {
this.log.error('readHistory err:', err); this.log.error('readHistory err:', err);
@ -3148,8 +3147,8 @@ export default class ChatBubbles {
const loadPromises: Promise<any>[] = []; const loadPromises: Promise<any>[] = [];
wrapSticker({ wrapSticker({
//doc, doc,
doc: appDocsManager.getDoc("5431607541660389336"), // cubigator mockup // doc: appDocsManager.getDoc("5431607541660389336"), // cubigator mockup
div: stickerDiv, div: stickerDiv,
middleware, middleware,
lazyLoadQueue: this.lazyLoadQueue, lazyLoadQueue: this.lazyLoadQueue,

Loading…
Cancel
Save