Added more local address
This commit is contained in:
parent
9a1d593191
commit
f09331457b
2 changed files with 9 additions and 4 deletions
|
@ -142,7 +142,7 @@ public class DevicesFragment extends Fragment {
|
|||
|
||||
private void initChatRoom() {
|
||||
Core core = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
|
||||
mRoom = core.getChatRoomFromUri(mRoomAddr.asStringUriOnly());
|
||||
mRoom = core.getChatRoom(mRoomAddr, mLocalSipAddr);
|
||||
}
|
||||
|
||||
private void initHeader() {
|
||||
|
|
|
@ -162,7 +162,7 @@ public class GroupInfoFragment extends Fragment implements ChatRoomListener {
|
|||
if (LinphoneActivity.instance().isTablet()) {
|
||||
LinphoneActivity.instance()
|
||||
.goToChat(
|
||||
null,
|
||||
mChatRoom.getLocalAddress().asStringUriOnly(),
|
||||
mGroupChatRoomAddress.asStringUriOnly(),
|
||||
mShareInfos);
|
||||
} else {
|
||||
|
@ -204,7 +204,9 @@ public class GroupInfoFragment extends Fragment implements ChatRoomListener {
|
|||
mChatRoom.leave();
|
||||
LinphoneActivity.instance()
|
||||
.goToChat(
|
||||
null,
|
||||
mChatRoom
|
||||
.getLocalAddress()
|
||||
.asStringUriOnly(),
|
||||
mGroupChatRoomAddress.asString(),
|
||||
null);
|
||||
} else {
|
||||
|
@ -398,7 +400,10 @@ public class GroupInfoFragment extends Fragment implements ChatRoomListener {
|
|||
mChatRoom.addParticipants(participantsToAdd);
|
||||
|
||||
LinphoneActivity.instance()
|
||||
.goToChat(null, mGroupChatRoomAddress.asString(), null);
|
||||
.goToChat(
|
||||
mChatRoom.getLocalAddress().asStringUriOnly(),
|
||||
mGroupChatRoomAddress.asString(),
|
||||
null);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue