Verified Commit c7eb0cbb authored by akwizgran's avatar akwizgran Committed by Torsten Grote

Include body of private request if present.

parent 1617a95b
......@@ -11,7 +11,7 @@ import org.briarproject.briar.api.sharing.InvitationRequest
import org.briarproject.briar.headless.json.JsonDict
internal fun PrivateRequest<*>.output(contactId: ContactId): JsonDict {
val dict = (this as PrivateMessageHeader).output(contactId, null)
val dict = (this as PrivateMessageHeader).output(contactId, message)
dict.putAll(
"sessionId" to sessionId.bytes,
"name" to name,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment