Skip to content

Commit 9c5b91e

Browse files
authored
Merge pull request elizaOS#1463 from zkvm/fix-twitter-enable-action-processing
fix: fix ENABLE_ACTION_PROCESSING logic
2 parents 99106da + 2e7075f commit 9c5b91e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/client-twitter/src/post.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export class TwitterPostClient {
175175

176176
// Add check for ENABLE_ACTION_PROCESSING before starting the loop
177177
const enableActionProcessing =
178-
this.runtime.getSetting("ENABLE_ACTION_PROCESSING") ?? false;
178+
this.runtime.getSetting("ENABLE_ACTION_PROCESSING") === "true" || false;
179179

180180
if (enableActionProcessing) {
181181
processActionsLoop().catch((error) => {

0 commit comments

Comments
 (0)