Talk to another without being in the friends list

Hello Community,

How a user can talk to another without being in the friends list?

(How in whatssap you add the user and start talking)

I’m rethinking to do my own library “smack” lacks many things why des my point of view.

you can discuss their experiences on the matter?

You can just send a message to that user. I am not seeing a problem here.

connection.send(new Message(“usernotinfriendlist@domain”, Message.Type.chat));

1 Like

Not work.

I wonder whether this is a bug in the Smack lib you are using. XMPP works like this.

Does “connection.send(new Message(“usernotinfriendlist@domain”, Message.Type.chat));” work?

Does it fail as soon as you cancel the subscription?