getSecureAddress method
Implementation
Future<Uri> getSecureAddress() async {
if (e2eePipe == null) return address;
final id = roomInfo?.roomId ?? roomId;
if (id == null) return server;
final key = await e2eePipe!.secretKey.extractBytes();
return server.replace(
fragment:
'${encodeRoomCode(id)}$split${encodeRoomCode(Uint8List.fromList(key))}',
scheme: '$kSwampSchemePrefix${server.scheme}',
);
}