mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 06:37:30 +00:00
Handle null InboxThreadModel. Fixes https://github.com/austinhuang0131/barinsta/issues/329
This commit is contained in:
parent
dccfcaf78a
commit
c72c4469f5
@ -66,6 +66,7 @@ public class DirectMessageSettingsFragment extends Fragment implements SwipeRefr
|
||||
|
||||
@Override
|
||||
public void onResult(final InboxThreadModel threadModel) {
|
||||
if (threadModel == null) return;
|
||||
final List<Long> adminList = Arrays.asList(threadModel.getAdmins());
|
||||
final String userIdFromCookie = CookieUtils.getUserIdFromCookie(cookie);
|
||||
if (userIdFromCookie == null) return;
|
||||
|
Loading…
Reference in New Issue
Block a user