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)); } }