Skip to content

Commit

Permalink
fix: deletion logic
Browse files Browse the repository at this point in the history
  • Loading branch information
austinhuang0131 committed Feb 4, 2024
1 parent 0cff1f8 commit 3bf7ac6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/bolt/lib/bolt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ export class Bolt extends EventEmitter<BoltPluginEvents> {
bridgeBoltMessage(this, 'update', msg);
});
this.on('messageDelete', async msg => {
if (await getBoltBridgedMessage(this, msg.id)) return;
bridgeBoltMessage(this, 'delete', msg);
});
this.on('threadCreate', thread => bridgeBoltThread(this, 'create', thread));
Expand Down

0 comments on commit 3bf7ac6

Please sign in to comment.