feat: Add getDeviceId and getDeviceBundle

This commit is contained in:
2022-08-18 15:30:31 +02:00
parent ee7b09bdb0
commit d5d4aa9014
4 changed files with 55 additions and 43 deletions

View File

@@ -65,7 +65,7 @@ void main() async {
// a new session. Let's also assume that Bob only has one device. We may, however,
// add more bundles to newSessions, if we know of more.
newSessions: [
await (await bobSession.getDevice()).toBundle(),
await bobSession.getDeviceBundle(),
],
);