Fix NPE
(cherry picked from commit f21126727fcb5c05db3566e87cef28cd5c1271fe)
This commit is contained in:
parent
cb84ae9f66
commit
b8111d4385
1 changed files with 2 additions and 0 deletions
|
@ -206,6 +206,8 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
|
|||
newCapsJids.clear();
|
||||
invalidateActionBarTitle();
|
||||
|
||||
if (accountHeader == null) return;
|
||||
|
||||
final var accounts = xmppConnectionService.getAccounts();
|
||||
final var inHeader = new HashSet<>();
|
||||
for (final var p : ImmutableList.copyOf(accountHeader.getProfiles())) {
|
||||
|
|
Loading…
Add table
Reference in a new issue