mirror of
https://github.com/nuclearfog/Shitter.git
synced 2025-01-15 19:10:37 +01:00
bug fix
This commit is contained in:
parent
efa225c960
commit
13d8be1fe2
@ -437,7 +437,7 @@ public class StatusUpdate implements Serializable {
|
|||||||
* @return true if media is attached
|
* @return true if media is attached
|
||||||
*/
|
*/
|
||||||
public boolean isEmpty() {
|
public boolean isEmpty() {
|
||||||
return previews.isEmpty() && location == null && poll == null && getText() == null;
|
return previews.isEmpty() && location == null && poll == null && (getText() == null || getText().trim().isEmpty());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user