Fix / missing new line in secret trail

This commit is contained in:
Valere 2020-10-28 17:47:05 +01:00
parent c2027be0ee
commit a1ed9bb377

View file

@ -119,6 +119,7 @@ class KeyRequestViewModel @AssistedInject constructor(
EventType.SEND_SECRET -> { EventType.SEND_SECRET -> {
val content = it.getClearContent().toModel<SecretSendEventContent>() val content = it.getClearContent().toModel<SecretSendEventContent>()
stringBuilder.append("requestId:${content?.requestId} From Device:${it.mxDecryptionResult?.payload?.get("sender_device")}") stringBuilder.append("requestId:${content?.requestId} From Device:${it.mxDecryptionResult?.payload?.get("sender_device")}")
stringBuilder.append("\n")
} }
EventType.REQUEST_SECRET -> { EventType.REQUEST_SECRET -> {
val content = it.getClearContent().toModel<SecretShareRequest>() val content = it.getClearContent().toModel<SecretShareRequest>()