mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Ensure owned call links are revoked on delete.
This commit is contained in:
committed by
Cody Henthorne
parent
03a212eee4
commit
290b0fe46f
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user