Hotfix #25
This commit is contained in:
parent
2fca99d35a
commit
6f3105788b
|
@ -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": {
|
||||||
|
|
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue