From b1ca812c56ac402ef9f4042aa24c7675a8a07704 Mon Sep 17 00:00:00 2001 From: fmodf Date: Fri, 8 Nov 2024 13:27:48 +0100 Subject: [PATCH] wip --- AnotherIM/AppData/Client/Client.swift | 3 --- 1 file changed, 3 deletions(-) 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) }