From b2082f088bbca8821cd6ed80701096268c8dd1d8 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Tue, 10 Aug 2021 22:59:35 +0300 Subject: [PATCH] Linting --- src/vk.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/vk.ts b/src/vk.ts index 6de05ed..a38b1b1 100755 --- a/src/vk.ts +++ b/src/vk.ts @@ -476,7 +476,6 @@ export class VkPuppet { } } - public async handleMatrixFile( room: IRemoteRoom, data: IFileEvent, @@ -559,7 +558,7 @@ export class VkPuppet { public async handleMatrixRead( room: IRemoteRoom, - eventId: string + eventId: string, ) { const p = this.puppets[room.puppetId]; if (!p) { @@ -703,7 +702,7 @@ export class VkPuppet { break; case AttachmentType.WALL: - rendered = await this.renderWallPost(puppetId, f) + rendered = await this.renderWallPost(puppetId, f); await this.puppet.sendMessage(params, { body: rendered, formattedBody: this.converter.makeHtml(rendered), @@ -711,7 +710,7 @@ export class VkPuppet { break; case AttachmentType.WALL_REPLY: - rendered = await this.renderWallPost(puppetId, f) + rendered = await this.renderWallPost(puppetId, f); await this.puppet.sendMessage(params, { body: rendered, formattedBody: this.converter.makeHtml(rendered), @@ -851,11 +850,11 @@ export class VkPuppet { }); } if (post.copy_history !== undefined && post.copy_history !== 0) { - const subpost = await this.renderWallPost(puppetId, { wall: post.copy_history[0] }) + const subpost = await this.renderWallPost(puppetId, { wall: post.copy_history[0] }); subpost.split("\n").forEach((element) => { formatted += `> ${element}\n`; }); - }; + } return formatted; };