Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
williamhorning committed May 7, 2024
1 parent 48293a4 commit 898ca77
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/bolt-discord/conv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function to_discord(
return {
...i,
timestamp: i.timestamp ? Number(i.timestamp) : undefined,
video : i.video ? { ...i.video, url: i.video.url || "" } : undefined
video: i.video ? { ...i.video, url: i.video.url || '' } : undefined
};
})
);
Expand Down
6 changes: 3 additions & 3 deletions packages/bolt-matrix/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class matrix_plugin extends plugin<MatrixConfig> {
await store?.setMatrixUser(storeUser);
}
// now to our message
const message = coreToMessage({...msg, reply_id});
const message = coreToMessage({ ...msg, reply_id });
let editinfo = {};
if (edit) {
editinfo = {
Expand All @@ -97,7 +97,7 @@ export class matrix_plugin extends plugin<MatrixConfig> {
...message,
...editinfo
});
return result.event_id
return result.event_id;
}

async edit_message(
Expand All @@ -120,6 +120,6 @@ export class matrix_plugin extends plugin<MatrixConfig> {
delete_id,
'bridge message deletion'
);
return delete_id
return delete_id;
}
}
2 changes: 1 addition & 1 deletion packages/lightning/src/migrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const fivesevenexistingredis = {
channel: i.channel,
id: i.id,
plugin: i.plugin
}
};
}),
use_rawname: false
} as bridge_document
Expand Down

0 comments on commit 898ca77

Please sign in to comment.