diff --git a/AnotherIM/AppData/Client/Client.swift b/AnotherIM/AppData/Client/Client.swift index 7352a9c..3820f43 100644 --- a/AnotherIM/AppData/Client/Client.swift +++ b/AnotherIM/AppData/Client/Client.swift @@ -209,9 +209,6 @@ extension Client { } func fetchArchiveMessages(for roster: Roster, query: RSM.Query) async throws -> Martin.MessageArchiveManagementModule.QueryResult { - if !discoManager.features.map({ $0.xep }).contains("XEP-0313") { - throw AppError.featureNotSupported - } let module = connection.module(MessageArchiveManagementModule.self) return try await module.queryItems(componentJid: JID(roster.bareJid), with: JID(roster.contactBareJid), queryId: UUID().uuidString, rsm: query) }