fix(core): Fix formatting

This commit is contained in:
PapaTutuWawa 2023-04-01 13:13:19 +02:00
parent 89fe8f0a9c
commit f2fe06104c

View File

@ -50,7 +50,8 @@ class PresenceManager extends XmppManagerBase {
if (event is StreamNegotiationsDoneEvent) { if (event is StreamNegotiationsDoneEvent) {
// Send initial presence only when we have not resumed the stream // Send initial presence only when we have not resumed the stream
final sm = getAttributes().getNegotiatorById<StreamManagementNegotiator>( final sm = getAttributes().getNegotiatorById<StreamManagementNegotiator>(
streamManagementNegotiator); streamManagementNegotiator,
);
final isResumed = sm?.isResumed ?? false; final isResumed = sm?.isResumed ?? false;
if (!isResumed) { if (!isResumed) {
unawaited(sendInitialPresence()); unawaited(sendInitialPresence());