This commit is contained in:
nuclearfog 2023-05-08 20:49:31 +02:00
parent efa225c960
commit 13d8be1fe2
No known key found for this signature in database
GPG Key ID: 03488A185C476379

View File

@ -437,7 +437,7 @@ public class StatusUpdate implements Serializable {
* @return true if media is attached
*/
public boolean isEmpty() {
return previews.isEmpty() && location == null && poll == null && getText() == null;
return previews.isEmpty() && location == null && poll == null && (getText() == null || getText().trim().isEmpty());
}
/**