fix NPE
This commit is contained in:
parent
33d082d446
commit
dfdf8014d8
1 changed files with 2 additions and 2 deletions
|
@ -1093,8 +1093,8 @@ public abstract class XmppActivity extends ActionBarActivity {
|
|||
protected String doInBackground(XmppConnection... params) {
|
||||
String uri = null;
|
||||
if (this.connection != null) {
|
||||
XmppConnection.Features features = connection.getFeatures();
|
||||
if (features.adhocinvite) {
|
||||
XmppConnection.Features features = this.connection.getFeatures();
|
||||
if (features != null && features.adhocinvite) {
|
||||
int i = 0;
|
||||
uri = this.connection.getAdHocInviteUrl(Jid.ofDomain(this.account.getJid().getDomain()));
|
||||
try {
|
||||
|
|
Reference in a new issue