mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 12:49:55 +01:00
Use short type labels in JSON API instead of long Java-like namespaces
This commit is contained in:
@@ -89,7 +89,7 @@ It returns a JSON array of private messages:
|
||||
"seen": true,
|
||||
"sent": true,
|
||||
"timestamp": 1537376633850,
|
||||
"type": "org.briarproject.briar.api.messaging.PrivateMessageHeader"
|
||||
"type": "PrivateMessage"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -172,9 +172,9 @@ it will send a JSON object to connected websocket clients:
|
||||
"seen": false,
|
||||
"sent": false,
|
||||
"timestamp": 1537389146088,
|
||||
"type": "org.briarproject.briar.api.messaging.PrivateMessageHeader"
|
||||
"type": "PrivateMessage"
|
||||
},
|
||||
"name": "org.briarproject.briar.api.messaging.event.PrivateMessageReceivedEvent",
|
||||
"name": "PrivateMessageReceivedEvent",
|
||||
"type": "event"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user