Skip to content

Commit

Permalink
rename identity key to chat key
Browse files Browse the repository at this point in the history
  • Loading branch information
cammellos committed Jun 26, 2020
1 parent 729aaf6 commit 48a03fe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/raw/push-notification-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -596,18 +596,18 @@ responsibility of propagating information about the user is left to the client,
in order to preserve privacy.

A client in anonymous mode can register with the server using a key different
from their identity key.
This will hide their real identity key.
from their chat key.
This will hide their real chat key.

This identity key is effectively a secret and SHOULD only be disclosed to clients that you the user wants to be notified by.
This chat key is effectively a secret and SHOULD only be disclosed to clients that you the user wants to be notified by.

A client MAY advertise the access token on the contact-code topic of the key generated.
A client MAY share their identity key through [contact updates](./6-payloads.md#contact-update)
A client MAY share their chat key through [contact updates](./6-payloads.md#contact-update)

A client receiving a push notification identity key SHOULD listen to the contact code
topic of the push notification identity key for updates.
A client receiving a push notification chat key SHOULD listen to the contact code
topic of the push notification chat key for updates.

If a client has received a push notification identity key they MAY request
If a client has received a push notification chat key they MAY request
the access token using an ephemeral key when querying the server.

The method described above effectively does not share the identity of the sender
Expand Down

0 comments on commit 48a03fe

Please sign in to comment.