diff --git a/package.json b/package.json index fc1a0fd..621f750 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mx-puppet-vk", - "version": "0.7.0", + "version": "0.7.1", "description": "Matrix <-> VK bridge based on mx-puppet-bridge and VK-IO.", "main": "index.js", "repository": { diff --git a/src/vk.ts b/src/vk.ts index a38b1b1..eb143e1 100755 --- a/src/vk.ts +++ b/src/vk.ts @@ -639,7 +639,7 @@ export class VkPuppet { } 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 = { body: msgText || "Attachment", formattedBody: this.converter.makeHtml(msgText),