This commit is contained in:
Christian Schneppe 2020-03-16 19:12:10 +01:00
parent 33d082d446
commit dfdf8014d8
No known key found for this signature in database
GPG key ID: F30B8D686B44D87E

View file

@ -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 {