fix(core): Fix formatting
This commit is contained in:
parent
89fe8f0a9c
commit
f2fe06104c
@ -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);
|
||||
streamManagementNegotiator,
|
||||
);
|
||||
final isResumed = sm?.isResumed ?? false;
|
||||
if (!isResumed) {
|
||||
unawaited(sendInitialPresence());
|
||||
|
Loading…
Reference in New Issue
Block a user