Skip to content

Commit

Permalink
šŸ› Nostr-bot triggers its welcome message when tagued on non-MP publiā€¦
Browse files Browse the repository at this point in the history
ā€¦cation #1553
  • Loading branch information
ithiame committed Dec 18, 2024
1 parent 4f262b5 commit 8f7c406
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/server/locks/handle-messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ async function handleReceivedMessage(message: NostRReceivedMessage): Promise<voi
if (
!matched &&
!message.tags?.some(([key]) => key === 'bootikVersion') &&
!runtimeConfig.disableNostrBotIntro
!runtimeConfig.disableNostrBotIntro &&
message.kind === 4
) {
await send(
`Hello ${
Expand Down

0 comments on commit 8f7c406

Please sign in to comment.