How do one send a normal message using Smack?
The only way I can find to send a message is using:
Chat chat = connection.getChatManager().createChat(to, this);
But i’‘m not intressted in participating in a chat-seesion, I only want to send a normal message. So I create a new Message with Message.Type=normal, but when I receive the message at the other end it’'s tagged type=CHAT.
Looking in Smack source I can see that when sending a message with the chatmanager it override the message type and set it to “chat”. Since there is no “connection.getMessageManager()”, how do I send a normal message??