Change summary
  src/main/java/eu/siacs/conversations/services/XmppConnectionService.java | 1 
1 file changed, 1 insertion(+)
  Detailed changes
  
  
    
    @@ -3446,6 +3446,7 @@ public class XmppConnectionService extends Service {
                                     invite(conversation, invite);
                                 }
                                 for (String resource : account.getSelfContact().getPresences().toResourceArray()) {
+                                    if (resource == null || "".equals(resource)) continue;
                                     Jid other = account.getJid().withResource(resource);
                                     Log.d(Config.LOGTAG, account.getJid().asBareJid() + ": sending direct invite to " + other);
                                     directInvite(conversation, other);