From: Sylvain Berfini Date: Wed, 16 Jan 2013 14:28:29 +0000 (+0100) Subject: Updated chatroom tutorial X-Git-Url: http://sjero.net/git/?p=linphone;a=commitdiff_plain;h=423375fe678d8f9c8b175881e8d9ded9e62126a0 Updated chatroom tutorial --- diff --git a/coreapi/help/java/org/linphone/core/tutorials/TutorialChatRoom.java b/coreapi/help/java/org/linphone/core/tutorials/TutorialChatRoom.java index 3e41dba0..2478131a 100644 --- a/coreapi/help/java/org/linphone/core/tutorials/TutorialChatRoom.java +++ b/coreapi/help/java/org/linphone/core/tutorials/TutorialChatRoom.java @@ -83,7 +83,7 @@ public class TutorialChatRoom implements LinphoneCoreListener { public void dtmfReceived(LinphoneCore lc, LinphoneCall call, int dtmf) {} public void textReceived(LinphoneCore lc, LinphoneChatRoom cr,LinphoneAddress from, String message) { - write("Message ["+message+"] received from ["+from.asString()+"]"); + //Deprecated } @@ -153,8 +153,7 @@ public class TutorialChatRoom implements LinphoneCoreListener { @Override public void messageReceived(LinphoneCore lc, LinphoneChatRoom cr, LinphoneChatMessage message) { - // TODO Auto-generated method stub - + write("Message [" + message.getMessage() + "] received from [" + message.getFrom().asString() + "]"); }