This commit is contained in:
Thomas 2022-04-29 17:57:45 +02:00
parent d7acab0a8c
commit 6796550398

View file

@ -556,7 +556,7 @@ public class StatusesVM extends AndroidViewModel {
new Thread(() -> {
String errorMessage = null;
Call<Status> statusCall = mastodonStatusesService.reblog(token, id, visibility.name().toLowerCase());
Call<Status> statusCall = mastodonStatusesService.reblog(token, id, visibility != null ? visibility.name().toLowerCase() : null);
Status status = null;
if (statusCall != null) {
try {