Browse Source

Hotfix #25

master
Inex Code 1 year ago
parent
commit
6f3105788b
  1. 2
      package.json
  2. 2
      src/vk.ts

2
package.json

@ -1,6 +1,6 @@ @@ -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": {

2
src/vk.ts

@ -639,7 +639,7 @@ export class VkPuppet { @@ -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),

Loading…
Cancel
Save