Skip to content

Commit

Permalink
Merge pull request #28 from tonalty/history-bug
Browse files Browse the repository at this point in the history
bug:fixed-condition
  • Loading branch information
Konstantin1996 authored Jul 14, 2024
2 parents 45cfa49 + 9ccf725 commit 436f98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telegram/reactionHandler.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class ReactionHandlerService {
this.logger.error('Error while updating community user table', error);
}

if (communityUser) {
if (communityUser && triggers.reaction.isEnabled) {
try {
await this.communityUserHistoryModel.create({
communityUserId: communityUser._id,
Expand Down

0 comments on commit 436f98b

Please sign in to comment.