Page MenuHomePhabricator

D13841.id45506.diff
No OneTemporary

D13841.id45506.diff

diff --git a/keyserver/src/responders/farcaster-webhook-responders.js b/keyserver/src/responders/farcaster-webhook-responders.js
--- a/keyserver/src/responders/farcaster-webhook-responders.js
+++ b/keyserver/src/responders/farcaster-webhook-responders.js
@@ -14,6 +14,12 @@
taggedCommFarcasterInputValidator,
);
+ const threadHashTagRegex: RegExp = new RegExp('#createathread', 'i');
+ const foundCreateThreadHashTag = threadHashTagRegex.test(event.data.text);
+ if (!foundCreateThreadHashTag) {
+ return;
+ }
+
console.log(event);
}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 6:33 AM (17 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2589201
Default Alt Text
D13841.id45506.diff (558 B)

Event Timeline