Skip to content

Commit

Permalink
fix: handle remove all reactions event
Browse files Browse the repository at this point in the history
  • Loading branch information
SethFalco committed Jul 6, 2023
1 parent 63bf643 commit ba3d10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,7 @@ export class DiscordBot {
"m.annotation"
);

const filteredChunk = chunk.filter((event) => event.sender === this.bridge.botUserId);
const filteredChunk = chunk.filter((event) => this.bridge.isNamespacedUser(event.sender));

await Promise.all(filteredChunk.map(async (event) => {
try {
Expand Down

0 comments on commit ba3d10b

Please sign in to comment.