From a7a3ab694e2512eff9109e9ca32b517ad110c2de Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Sun, 10 Apr 2022 02:19:59 -0400 Subject: [PATCH] Semicolons & commas --- matrix_appservice_kakaotalk/user.py | 4 ++-- node/src/client.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/matrix_appservice_kakaotalk/user.py b/matrix_appservice_kakaotalk/user.py index 180eee0..0a8d544 100644 --- a/matrix_appservice_kakaotalk/user.py +++ b/matrix_appservice_kakaotalk/user.py @@ -673,7 +673,7 @@ class User(DBUser, BaseUser): portal = await po.Portal.get_by_ktid( channel_id, kt_receiver=self.ktid, - kt_type=channel_type + kt_type=channel_type, ) puppet = await pu.Puppet.get_by_ktid(chat.sender.userId) await portal.backfill_lock.wait(chat.logId) @@ -694,7 +694,7 @@ class User(DBUser, BaseUser): channel_id, kt_receiver=self.ktid, kt_type=channel_type, - create=False + create=False, ) if portal and portal.mxid: await portal.backfill_lock.wait(f"redaction of {chat_id}") diff --git a/node/src/client.js b/node/src/client.js index 4e62242..f791513 100644 --- a/node/src/client.js +++ b/node/src/client.js @@ -48,13 +48,13 @@ ServiceApiClient.prototype.requestFriendList = async function() { { phone_number_type: 1, } - ); + ) return { status: res.status, success: res.status === 0, result: res, - }; + } } @@ -93,7 +93,7 @@ class UserClient { }) this.#talkClient.on("chat_deleted", (feedChatlog, channel, feed) => { - this.log(`${feed.logId} deleted in channel ${channel.channelId} by user ${feedChatlog.sender.userId}`); + this.log(`${feed.logId} deleted in channel ${channel.channelId} by user ${feedChatlog.sender.userId}`) return this.write("chat_deleted", { chatId: feed.logId, senderId: feedChatlog.sender.userId, @@ -104,7 +104,7 @@ class UserClient { }) this.#talkClient.on("message_hidden", (hideLog, channel, feed) => { - this.log(`Message ${hideLog.logId} hid from channel ${channel.channelId} by user ${hideLog.sender.userId}`); + this.log(`Message ${hideLog.logId} hid from channel ${channel.channelId} by user ${hideLog.sender.userId}`) return this.write("chat_deleted", { chatId: feed.logId, senderId: hideLog.sender.userId,