mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-15 14:12:21 +01:00
Fix NPE
(cherry picked from commit 7c48dfe5dff0a5598604af34a4c82f67e1d80ca7)
This commit is contained in:
parent
d43a1a7b47
commit
c6d77737f4
1 changed files with 1 additions and 1 deletions
|
@ -542,7 +542,7 @@ public class ConversationsOverviewFragment extends XmppFragment {
|
|||
}
|
||||
setupSwipe();
|
||||
|
||||
binding.overviewSnackbar.setVisibility(View.GONE);
|
||||
if (binding.overviewSnackbar != null) binding.overviewSnackbar.setVisibility(View.GONE);
|
||||
if (activity.xmppConnectionService == null) return;
|
||||
for (final var account : activity.xmppConnectionService.getAccounts()) {
|
||||
if (activity.getPreferences().getBoolean("no_mam_pref_warn:" + account.getUuid(), false)) continue;
|
||||
|
|
Loading…
Reference in a new issue