storeOutboundGroupSession method
Store an outbound group session in the database
Implementation
Future<void> storeOutboundGroupSession(
String roomId,
OutboundGroupSession sess,
) async {
final userID = client.userID;
if (userID == null) return;
await client.database?.storeOutboundGroupSession(
roomId,
sess.outboundGroupSession!.pickle(userID),
json.encode(sess.devices),
sess.creationTime.millisecondsSinceEpoch,
);
}