Fix potential crashes when replying

This commit is contained in:
tom79 2019-07-23 09:20:28 +02:00
parent e5404d47da
commit 99169e1b2f
1 changed files with 1 additions and 1 deletions

View File

@ -529,7 +529,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
if( error != null){
return;
}
if( relationship.isBlocked_by() ){
if( relationship != null && relationship.isBlocked_by() ){
warning_message.setVisibility(View.VISIBLE);
status.setWarningFetched(1);
}else{