Allow a post to contain only a quote (#3577)
* allow posts with only a quote * bump version while we're at it
This commit is contained in:
@@ -214,7 +214,12 @@ export const ComposePost = observer(function ComposePost({
|
||||
|
||||
setError('')
|
||||
|
||||
if (richtext.text.trim().length === 0 && gallery.isEmpty && !extLink) {
|
||||
if (
|
||||
richtext.text.trim().length === 0 &&
|
||||
gallery.isEmpty &&
|
||||
!extLink &&
|
||||
!quote
|
||||
) {
|
||||
setError(_(msg`Did you want to say anything?`))
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user