diff --git a/packages/moxxmpp/lib/src/presence.dart b/packages/moxxmpp/lib/src/presence.dart index 570d8f7..6dcc962 100644 --- a/packages/moxxmpp/lib/src/presence.dart +++ b/packages/moxxmpp/lib/src/presence.dart @@ -50,7 +50,8 @@ class PresenceManager extends XmppManagerBase { if (event is StreamNegotiationsDoneEvent) { // Send initial presence only when we have not resumed the stream final sm = getAttributes().getNegotiatorById( - streamManagementNegotiator); + streamManagementNegotiator, + ); final isResumed = sm?.isResumed ?? false; if (!isResumed) { unawaited(sendInitialPresence());