mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-03-01 06:07:37 +00:00
Add new rules to log scrubber.
This commit is contained in:
committed by
Greyson Parrelli
parent
b7464ffca9
commit
91b411abb5
@@ -10,6 +10,7 @@ import kotlinx.parcelize.Parcelize
|
||||
import okio.ByteString
|
||||
import okio.ByteString.Companion.toByteString
|
||||
import org.signal.core.util.Base64
|
||||
import org.signal.core.util.Hex
|
||||
import org.signal.core.util.Serializer
|
||||
import org.signal.ringrtc.CallLinkRootKey
|
||||
|
||||
@@ -34,8 +35,11 @@ class CallLinkRoomId private constructor(private val roomId: ByteArray) : Parcel
|
||||
return roomId.contentHashCode()
|
||||
}
|
||||
|
||||
/**
|
||||
* Prints call link room id as a hex string, explicitly for logging.
|
||||
*/
|
||||
override fun toString(): String {
|
||||
return DatabaseSerializer.serialize(this)
|
||||
return Hex.toStringCondensed(roomId)
|
||||
}
|
||||
|
||||
object DatabaseSerializer : Serializer<CallLinkRoomId, String> {
|
||||
|
||||
Reference in New Issue
Block a user