From ae6664479eb9f9e2694e6b16e70cb540b5595be4 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 13 Jun 2016 14:15:01 +0200 Subject: [PATCH] Fix messaging.md Thanks to Clinton Yeboah for reporting this --- documentation/messaging.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/documentation/messaging.md b/documentation/messaging.md index 3aa595daee..666bbecef9 100644 --- a/documentation/messaging.md +++ b/documentation/messaging.md @@ -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); ```