mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 05:39:53 +01:00
Include body of private request if present.
This commit is contained in:
@@ -11,7 +11,7 @@ import org.briarproject.briar.api.sharing.InvitationRequest
|
|||||||
import org.briarproject.briar.headless.json.JsonDict
|
import org.briarproject.briar.headless.json.JsonDict
|
||||||
|
|
||||||
internal fun PrivateRequest<*>.output(contactId: ContactId): 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(
|
dict.putAll(
|
||||||
"sessionId" to sessionId.bytes,
|
"sessionId" to sessionId.bytes,
|
||||||
"name" to name,
|
"name" to name,
|
||||||
|
|||||||
Reference in New Issue
Block a user