fix: gate inline /status stripping
This commit is contained in:
1 parent
2111d0c653
commit
4f1c6e76fd
2 files changed
+4
-2
No files matched your search
@@ -606,7 +606,9 @@ export async function getReplyFromConfig(
|
||||
return `${head}${cleanedTail}`;
|
||||
})();
|
||||
|
||||
cleanedBody = stripInlineStatus(cleanedBody).cleaned;
|
||||
if (allowStatusDirective) {
|
||||
cleanedBody = stripInlineStatus(cleanedBody).cleaned;
|
||||
}
|
||||
|
||||
sessionCtx.Body = cleanedBody;
|
||||
sessionCtx.BodyStripped = cleanedBody;
|
||||
|
||||
Reference in new issue
Block a user