Browse Source

Fix sending messages

master
morethanwords 4 years ago
parent
commit
e131b0a42b
  1. 2
      src/lib/appManagers/appMessagesManager.ts

2
src/lib/appManagers/appMessagesManager.ts

@ -426,7 +426,7 @@ export class AppMessagesManager {
let entities = options.entities || []; let entities = options.entities || [];
if(!options.viaBotId) { if(!options.viaBotId) {
text = RichTextProcessor.parseMarkdown(text, entities); text = RichTextProcessor.parseMarkdown(text, entities);
entities = RichTextProcessor.mergeEntities(entities, RichTextProcessor.parseEntities(text)); //entities = RichTextProcessor.mergeEntities(entities, RichTextProcessor.parseEntities(text));
} }
let sendEntites = this.getInputEntities(entities); let sendEntites = this.getInputEntities(entities);

Loading…
Cancel
Save