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:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bsky.app",
|
"name": "bsky.app",
|
||||||
"version": "1.78.0",
|
"version": "1.79.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
|
|||||||
@@ -214,7 +214,12 @@ export const ComposePost = observer(function ComposePost({
|
|||||||
|
|
||||||
setError('')
|
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?`))
|
setError(_(msg`Did you want to say anything?`))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user