From 7ce6703c5bebdfe101e7c1c23aec39fefdbc4645 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Mon, 9 Jan 2023 12:53:22 +0100 Subject: [PATCH] tests: Fix the XEP-0198 test --- packages/moxxmpp/test/xeps/xep_0198_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/moxxmpp/test/xeps/xep_0198_test.dart b/packages/moxxmpp/test/xeps/xep_0198_test.dart index 37ab414..dc13c61 100644 --- a/packages/moxxmpp/test/xeps/xep_0198_test.dart +++ b/packages/moxxmpp/test/xeps/xep_0198_test.dart @@ -4,7 +4,7 @@ import '../helpers/logging.dart'; import '../helpers/xmpp.dart'; Future runIncomingStanzaHandlers(StreamManagementManager man, Stanza stanza) async { - for (final handler in man.getIncomingStanzaHandlers()) { + for (final handler in man.getIncomingPreStanzaHandlers()) { if (handler.matches(stanza)) await handler.callback(stanza, StanzaHandlerData(false, false, null, stanza)); } }