forked from fair/matrix-puppeteer-line
Minor formatting fixes
This commit is contained in:
parent
f05a91e95d
commit
2c026939c3
@ -182,8 +182,8 @@ class Portal(DBPortal, BasePortal):
|
|||||||
if not msg and self.config["bridge.delivery_error_reports"]:
|
if not msg and self.config["bridge.delivery_error_reports"]:
|
||||||
await self.main_intent.send_notice(
|
await self.main_intent.send_notice(
|
||||||
self.mxid,
|
self.mxid,
|
||||||
"Posting this message to LINE may have failed.",
|
"Posting this message to LINE may have failed.",
|
||||||
relates_to=RelatesTo(rel_type=RelationType.REPLY, event_id=event_id))
|
relates_to=RelatesTo(rel_type=RelationType.REPLY, event_id=event_id))
|
||||||
|
|
||||||
async def handle_matrix_leave(self, user: 'u.User') -> None:
|
async def handle_matrix_leave(self, user: 'u.User') -> None:
|
||||||
self.log.info(f"{user.mxid} left portal to {self.chat_id}, "
|
self.log.info(f"{user.mxid} left portal to {self.chat_id}, "
|
||||||
|
@ -426,7 +426,7 @@ export default class MessagesPuppeteer {
|
|||||||
* @return {Promise<[MessageData]>} - The messages visible in the chat.
|
* @return {Promise<[MessageData]>} - The messages visible in the chat.
|
||||||
*/
|
*/
|
||||||
async getMessages(chatID) {
|
async getMessages(chatID) {
|
||||||
return await this.taskQueue.push(async () => this._getMessagesUnsafe(chatID))
|
return await this.taskQueue.push(() => this._getMessagesUnsafe(chatID))
|
||||||
}
|
}
|
||||||
|
|
||||||
setLastMessageIDs(ids) {
|
setLastMessageIDs(ids) {
|
||||||
|
Loading…
Reference in New Issue
Block a user