Some weird crashes

This commit is contained in:
stom79 2019-01-27 17:58:19 +01:00
parent 0e727ddde9
commit 115a596448
1 changed files with 4 additions and 0 deletions

View File

@ -142,6 +142,10 @@ public class Notification implements Parcelable {
if( status.getReblog() == null && status.getEmojis() == null)
return;
final java.util.List<Emojis> emojis = status.getReblog() != null ? status.getReblog().getEmojis() : status.getEmojis();
if( status.getReblog() != null && status.getReblog().getAccount() == null)
return;
if( status.getReblog() == null && status.getAccount() == null)
return;
final List<Emojis> emojisAccounts = status.getReblog() != null ?status.getReblog().getAccount().getEmojis():status.getAccount().getEmojis();
status.getAccount().makeAccountNameEmoji(context, null, status.getAccount());