|
From: | Sylvain Berfini |
Subject: | Re: [Linphone-developers] LinphoneChatRoom PeerAddress is not getting updated |
Date: | Thu, 18 Jun 2015 09:55:30 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
Hi Yonatan,
You will only get a displayName if the SIP address used to create the chatRoom contains one. Your problem is you don't set the displayName when creating the chatRoom, you set it on a variable you get once it has been created (and not on the chatRoom itself). Here's how to do that: LinphoneAddress addr = LinphoneCoreFactory.instance().createLinphoneAddress(destination); addr.setDisplayName(name); LinphoneChatRoom room = core.getOrCreateChatRoom(addr.asString()); Cheers. Sylvain Berfini Software Engineer @ Belledonne CommunicationsLe 17/06/2015 09:27, Yonatan Nir a écrit :
|
[Prev in Thread] | Current Thread | [Next in Thread] |