Skip to content

Commit

Permalink
fill in bot context in unconfirmed message
Browse files Browse the repository at this point in the history
  • Loading branch information
julianjelfs committed Dec 23, 2024
1 parent f3eb8be commit fbe05bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/openchat-client/src/openchat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7944,6 +7944,11 @@ export class OpenChat extends EventTarget {
forwarded: false,
deleted: false,
blockLevelMarkdown: false,
botContext: {
initiator: this.#liveState.user.userId,
finalised: false,
commandText: `/${bot.command.name}`,
},
};
const event = {
index: eventIndex,
Expand Down

0 comments on commit fbe05bb

Please sign in to comment.