Fix NPE
(cherry picked from commit 7c48dfe5dff0a5598604af34a4c82f67e1d80ca7)
This commit is contained in:
parent
81ed4859c3
commit
28317a7396
1 changed files with 1 additions and 1 deletions
|
@ -542,7 +542,7 @@ public class ConversationsOverviewFragment extends XmppFragment {
|
||||||
}
|
}
|
||||||
setupSwipe();
|
setupSwipe();
|
||||||
|
|
||||||
binding.overviewSnackbar.setVisibility(View.GONE);
|
if (binding.overviewSnackbar != null) binding.overviewSnackbar.setVisibility(View.GONE);
|
||||||
if (activity.xmppConnectionService == null) return;
|
if (activity.xmppConnectionService == null) return;
|
||||||
for (final var account : activity.xmppConnectionService.getAccounts()) {
|
for (final var account : activity.xmppConnectionService.getAccounts()) {
|
||||||
if (activity.getPreferences().getBoolean("no_mam_pref_warn:" + account.getUuid(), false)) continue;
|
if (activity.getPreferences().getBoolean("no_mam_pref_warn:" + account.getUuid(), false)) continue;
|
||||||
|
|
Loading…
Reference in a new issue