mirror of
https://github.com/nuclearfog/Shitter.git
synced 2024-12-28 02:20:46 +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
|
||||
*/
|
||||
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