Fix potential crashes when replying
This commit is contained in:
parent
e5404d47da
commit
99169e1b2f
|
@ -529,7 +529,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
||||||
if( error != null){
|
if( error != null){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if( relationship.isBlocked_by() ){
|
if( relationship != null && relationship.isBlocked_by() ){
|
||||||
warning_message.setVisibility(View.VISIBLE);
|
warning_message.setVisibility(View.VISIBLE);
|
||||||
status.setWarningFetched(1);
|
status.setWarningFetched(1);
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in New Issue