forked from mirrors/linphone-iphone
Simplify optional check for chatRooms
This commit is contained in:
parent
d27ff560e9
commit
6d3577379f
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class ConversationsListViewModel: ObservableObject {
|
|||
func computeChatRoomsList(filter: String) {
|
||||
coreContext.doOnCoreQueue { core in
|
||||
let account = core.defaultAccount
|
||||
let chatRooms = account?.chatRooms != nil ? account!.chatRooms : core.chatRooms
|
||||
let chatRooms = account != nil ? account!.chatRooms : core.chatRooms
|
||||
|
||||
self.conversationsListTmp = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue