Skip to content

Commit

Permalink
Fix messaging.md
Browse files Browse the repository at this point in the history
Thanks to Clinton Yeboah for reporting this
  • Loading branch information
Flowdalic committed Jun 21, 2016
1 parent 30861fb commit ae66644
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion documentation/messaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
```

Expand Down

0 comments on commit ae66644

Please sign in to comment.