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:
Hailey
2024-04-16 10:20:05 -07:00
committed by GitHub
parent 6980cc7f37
commit 38074854b2
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "bsky.app",
"version": "1.78.0",
"version": "1.79.0",
"private": true,
"engines": {
"node": ">=18"
+6 -1
View File
@@ -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
}