Remove redundant check

This commit is contained in:
David Baker 2026-04-15 18:02:11 +01:00
parent 61cf98b0f4
commit ec69498d99

View File

@ -841,7 +841,7 @@ export const Commands = [
if (additionalSegment) {
return reject(new UserFriendlyError("slash_command|status|too_long_emoji"));
}
if (text && !userStatusTextWithinMaxLength(text)) {
if (!userStatusTextWithinMaxLength(text)) {
return reject(new UserFriendlyError("slash_command|status|too_long_text"));
}
return success(