This commit is contained in:
Inex Code 2021-09-25 21:08:34 +03:00
parent 2fca99d35a
commit 6f3105788b
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "mx-puppet-vk", "name": "mx-puppet-vk",
"version": "0.7.0", "version": "0.7.1",
"description": "Matrix <-> VK bridge based on mx-puppet-bridge and VK-IO.", "description": "Matrix <-> VK bridge based on mx-puppet-bridge and VK-IO.",
"main": "index.js", "main": "index.js",
"repository": { "repository": {

View file

@ -639,7 +639,7 @@ export class VkPuppet {
} }
if (context.hasReplyMessage) { if (context.hasReplyMessage) {
if (this.puppet.eventSync.getMatrix(params.room, context.replyMessage!.id.toString())) { if (await this.puppet.eventSync.getMatrix(params.room, context.replyMessage!.id.toString())) {
const opts: IMessageEvent = { const opts: IMessageEvent = {
body: msgText || "Attachment", body: msgText || "Attachment",
formattedBody: this.converter.makeHtml(msgText), formattedBody: this.converter.makeHtml(msgText),