Replay Guard Blocks Duplicate Messages | Generated by AI
I found the issue. Here’s what’s happening:
Problem Analysis:
-
Your
requireMention: falseconfig IS correct — it’s atrooms.eu42ecdy.requireMention, which is the right place. - The real issue: Replay Guard deduplication
- The dedupe file shows:
{"eu42ecdy:1": 1775323541972} - This means messages with
messageId=1from roomeu42ecdyare being blocked as duplicates for 24 hours (TTL = 86400000ms) - Every message with
messageId=1after the first is rejected BEFORE the mention check even runs
- The dedupe file shows:
- Flow:
shouldProcessMessage (replay check)→ if passed →handleNextcloudTalkInbound→ mention gate check
The replay guard runs FIRST, so even with requireMention: false correctly set, duplicate message IDs get blocked before reaching the mention logic.
Likely cause: Nextcloud Talk is sending the same messageId for all messages (or you’re resending the same test webhook).
Fix options:
- Quick fix — clear the replay dedupe file:
rm /home/lzw/.openclaw/nextcloud-talk/replay-dedupe/*.json echo '{}' > /home/lzw/.openclaw/nextcloud-talk/replay-dedupe/*.jsonThen send a new message with a unique ID.
-
Or restart the gateway to pick up the config fresh.
- Check Nextcloud Talk — ensure it’s generating unique message IDs for each message, not reusing
1.
Want me to clear the dedupe file and verify the config?