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() {
|
private void initChatRoom() {
|
||||||
Core core = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
|
Core core = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
|
||||||
mRoom = core.getChatRoomFromUri(mRoomAddr.asStringUriOnly());
|
mRoom = core.getChatRoom(mRoomAddr, mLocalSipAddr);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initHeader() {
|
private void initHeader() {
|
||||||
|
|
|
@ -162,7 +162,7 @@ public class GroupInfoFragment extends Fragment implements ChatRoomListener {
|
||||||
if (LinphoneActivity.instance().isTablet()) {
|
if (LinphoneActivity.instance().isTablet()) {
|
||||||
LinphoneActivity.instance()
|
LinphoneActivity.instance()
|
||||||
.goToChat(
|
.goToChat(
|
||||||
null,
|
mChatRoom.getLocalAddress().asStringUriOnly(),
|
||||||
mGroupChatRoomAddress.asStringUriOnly(),
|
mGroupChatRoomAddress.asStringUriOnly(),
|
||||||
mShareInfos);
|
mShareInfos);
|
||||||
} else {
|
} else {
|
||||||
|
@ -204,7 +204,9 @@ public class GroupInfoFragment extends Fragment implements ChatRoomListener {
|
||||||
mChatRoom.leave();
|
mChatRoom.leave();
|
||||||
LinphoneActivity.instance()
|
LinphoneActivity.instance()
|
||||||
.goToChat(
|
.goToChat(
|
||||||
null,
|
mChatRoom
|
||||||
|
.getLocalAddress()
|
||||||
|
.asStringUriOnly(),
|
||||||
mGroupChatRoomAddress.asString(),
|
mGroupChatRoomAddress.asString(),
|
||||||
null);
|
null);
|
||||||
} else {
|
} else {
|
||||||
|
@ -398,7 +400,10 @@ public class GroupInfoFragment extends Fragment implements ChatRoomListener {
|
||||||
mChatRoom.addParticipants(participantsToAdd);
|
mChatRoom.addParticipants(participantsToAdd);
|
||||||
|
|
||||||
LinphoneActivity.instance()
|
LinphoneActivity.instance()
|
||||||
.goToChat(null, mGroupChatRoomAddress.asString(), null);
|
.goToChat(
|
||||||
|
mChatRoom.getLocalAddress().asStringUriOnly(),
|
||||||
|
mGroupChatRoomAddress.asString(),
|
||||||
|
null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue