]> sjero.net Git - linphone/blobdiff - coreapi/help/java/org/linphone/core/tutorials/TutorialChatRoom.java
Updated chatroom tutorial
[linphone] / coreapi / help / java / org / linphone / core / tutorials / TutorialChatRoom.java
index 3e41dba002726d606d19a583e393a61d6d49784a..2478131a0127d2760723af3f5d6523b75c2a0c4d 100644 (file)
@@ -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() + "]");
        }