1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-15 08:04:49 +02:00

Fix messaging.md

Thanks to Clinton Yeboah for reporting this
This commit is contained in:
Florian Schmaus 2016-06-13 14:15:01 +02:00
parent 30861fb7ce
commit ae6664479e

View file

@ -41,7 +41,8 @@ before sending it, use the `Chat.createMessage()` and
```
Message newMessage = new Message();
newMessage.setBody("Howdy!");
message.setProperty("favoriteColor", "red");
// Additional modifications to the message Stanza.
JivePropertiesManager.addProperty(newMessage, "favoriteColor", "red");
newChat.sendMessage(newMessage);
```