1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 08:12:05 +01:00

Merge pull request #165 from pocman/patch-1

Keep 4.1.9 chat.sendMessage(String) behavior
This commit is contained in:
Florian Schmaus 2017-08-16 15:18:52 +02:00 committed by GitHub
commit 9bb0ed150b

View file

@ -42,6 +42,7 @@ public final class Chat extends Manager {
public void send(CharSequence message) throws NotConnectedException, InterruptedException { public void send(CharSequence message) throws NotConnectedException, InterruptedException {
Message stanza = new Message(); Message stanza = new Message();
stanza.setBody(message); stanza.setBody(message);
stanza.setType(Message.Type.chat);
send(stanza); send(stanza);
} }