Merge branch 'debug_custom_sharing' into 'develop'

Fix NullPointer exception in Custom Sharing when sharing a reblogged toot

See merge request tom79/mastalab!1778
This commit is contained in:
Thomas 2019-02-18 12:37:03 +00:00
commit 7ff8a5796b
1 changed files with 1 additions and 1 deletions

View File

@ -2259,7 +2259,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
bCustomSharing.putString("source", status.getReblog().getAccount().getDisplay_name());
bCustomSharing.putString("id", status.getReblog().getId());
bCustomSharing.putString("tags", status.getReblog().getTagsString());
bCustomSharing.putString("content", status.getReblog().getContentSpan().toString());
bCustomSharing.putString("content", status.getContentSpan().toString());
} else {
bCustomSharing.putString("url", status.getUrl());
bCustomSharing.putString("source", status.getAccount().getDisplay_name());