feat(core): Make the PresenceManager optional

This commit is contained in:
2023-04-01 13:09:43 +02:00
parent 9358175925
commit 89fe8f0a9c
4 changed files with 20 additions and 10 deletions

View File

@@ -431,7 +431,7 @@ void main() {
await conn.connect(
waitUntilLogin: true,
);
expect(fakeSocket.getState(), 5);
expect(fakeSocket.getState(), 6);
expect(await conn.getConnectionState(), XmppConnectionState.connected);
expect(
conn
@@ -589,7 +589,7 @@ void main() {
waitUntilLogin: true,
);
expect(fakeSocket.getState(), 5);
expect(fakeSocket.getState(), 6);
expect(await conn.getConnectionState(), XmppConnectionState.connected);
expect(
conn
@@ -689,7 +689,7 @@ void main() {
await conn.connect(
waitUntilLogin: true,
);
expect(fakeSocket.getState(), 6);
expect(fakeSocket.getState(), 7);
expect(await conn.getConnectionState(), XmppConnectionState.connected);
expect(
conn