Ensure owned call links are revoked on delete.

This commit is contained in:
Alex Hart
2023-06-13 11:06:05 -03:00
committed by Cody Henthorne
parent 03a212eee4
commit 290b0fe46f
12 changed files with 334 additions and 126 deletions

View File

@@ -32,6 +32,10 @@ class CallLinkRoomId private constructor(private val roomId: ByteArray) : Parcel
return roomId.contentHashCode()
}
override fun toString(): String {
return DatabaseSerializer.serialize(this)
}
object DatabaseSerializer : Serializer<CallLinkRoomId, String> {
override fun serialize(data: CallLinkRoomId): String {
return Base64.encodeBytes(data.roomId)