remove code

This commit is contained in:
Diogo
2024-12-16 22:39:44 +00:00
parent 498c60740e
commit 7823eff4f1
-24
View File
@@ -107,30 +107,6 @@ class ChatTagsModel: ObservableObject {
@Published var activeFilter: ActiveFilter? = nil
}
private func filterBusinessChat(_ cInfo: ChatInfo) -> Bool {
if case let .group(gInfo) = cInfo {
return switch gInfo.businessChat?.chatType {
case .none: false
case .business: true
case .customer: true
}
} else {
return false
}
}
private func filterGroupChat(_ cInfo: ChatInfo) -> Bool {
if case let .group(gInfo) = cInfo {
return switch gInfo.businessChat?.chatType {
case .none: true
case .business: false
case .customer: false
}
} else {
return false
}
}
class NetworkModel: ObservableObject {
// map of connections network statuses, key is agent connection id
@Published var networkStatuses: Dictionary<String, NetworkStatus> = [:]