Skip to content

Commit

Permalink
Fix community rules acceptance (#5944)
Browse files Browse the repository at this point in the history
  • Loading branch information
megrogan authored Jun 18, 2024
1 parent 119d646 commit 785cce6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/openchat-client/src/openchat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6860,7 +6860,8 @@ export class OpenChat extends OpenChatAgentWorker {
}

if (this._liveState.currentCommunityRules?.enabled ?? false) {
acceptedRules.community = this._liveState.currentChatRules?.version;
acceptedRules.community =
this._liveState.currentCommunityRules?.version;
}
}

Expand Down

0 comments on commit 785cce6

Please sign in to comment.