From 51698a5dd55232d39746269bfd164647ec56548f Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 10 Jun 2019 14:04:14 -0600 Subject: [PATCH] Clarify that people must own the namespace to use it --- specification/client_server_api.rst | 3 ++- specification/index.rst | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/specification/client_server_api.rst b/specification/client_server_api.rst index 80e4a2f4..b67beca1 100644 --- a/specification/client_server_api.rst +++ b/specification/client_server_api.rst @@ -1330,7 +1330,8 @@ namespaced for each application and reduces the risk of clashes. Events are not limited to the types defined in this specification. New or custom event types can be created on a whim using the Java package naming convention. For example, a ``com.example.game.score`` event can be sent by clients and other - clients would receive it through Matrix. + clients would receive it through Matrix, assuming the client has access to the + ``com.example`` namespace. Note that the structure of these events may be different than those in the server-server API. diff --git a/specification/index.rst b/specification/index.rst index 7aa6a672..bf12a271 100644 --- a/specification/index.rst +++ b/specification/index.rst @@ -352,7 +352,8 @@ from the other servers participating in a room. Events are not limited to the types defined in this specification. New or custom event types can be created on a whim using the Java package naming convention. For example, a ``com.example.game.score`` event can be sent by clients and other - clients would receive it through Matrix. + clients would receive it through Matrix, assuming the client has access to the + ``com.example`` namespace. Room Aliases ++++++++++++