Do not delete chat rooms when removing account, will cause leaving groups in case of multi device

This commit is contained in:
Sylvain Berfini 2025-05-15 11:48:04 +02:00
parent a4e066d8f8
commit 1ee236fd78

View file

@ -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)
}