diff --git a/src/components/compose.jsx b/src/components/compose.jsx index eba7740d..e186c185 100644 --- a/src/components/compose.jsx +++ b/src/components/compose.jsx @@ -1412,7 +1412,7 @@ function Compose({ class="toolbar-button gif-picker-button" disabled={ uiState === 'loading' || - !(mediaAttachments.length < maxMediaAttachments) || + (maxMediaAttachments !== undefined && mediaAttachments.length >= maxMediaAttachments) || !!poll } onClick={() => {