mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Do not delete chat rooms when removing account, will cause leaving groups in case of multi device
This commit is contained in:
parent
a4e066d8f8
commit
1ee236fd78
1 changed files with 4 additions and 0 deletions
|
|
@ -268,9 +268,13 @@ class AccountProfileViewModel
|
|||
Log.i("$TAG Removing call logs, conversations & meetings related to account being removed")
|
||||
account.clearCallLogs()
|
||||
|
||||
// Wait for a better API in the SDK, deleteChatRoom will cause user to leave the groups,
|
||||
// which will cause issues in case of multi device
|
||||
/*
|
||||
for (conversation in account.chatRooms) {
|
||||
core.deleteChatRoom(conversation)
|
||||
}
|
||||
*/
|
||||
for (meeting in account.conferenceInformationList) {
|
||||
core.deleteConferenceInformation(meeting)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue