Fix NPE
This commit is contained in:
parent
ae2e2a4997
commit
76624a4a25
1 changed files with 1 additions and 3 deletions
|
@ -680,9 +680,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
|
||||||
}
|
}
|
||||||
|
|
||||||
public void launchStartConversation(int goTo) {
|
public void launchStartConversation(int goTo) {
|
||||||
if (accountHeader.getActiveProfile() != null) {
|
StartConversationActivity.launch(this, accountHeader == null ? null : (Account) accountHeader.getActiveProfile().getTag(), selectedTag.stream().map(tag -> tag.getName()).collect(Collectors.joining(", ")), goTo);
|
||||||
StartConversationActivity.launch(this, (Account) accountHeader.getActiveProfile().getTag(), selectedTag.stream().map(tag -> tag.getName()).collect(Collectors.joining(", ")), goTo);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean performRedirectIfNecessary(boolean noAnimation) {
|
private boolean performRedirectIfNecessary(boolean noAnimation) {
|
||||||
|
|
Loading…
Reference in a new issue