Allow a post to contain only a quote (#3577)
* allow posts with only a quote * bump version while we're at itzio/stable
parent
6980cc7f37
commit
38074854b2
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue