Update presence.rst

This commit is contained in:
Neil Johnson 2019-01-29 18:23:30 +00:00 committed by GitHub
parent ed68f940cd
commit c09fa6845e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ Each user has the concept of presence information. This encodes:
This information is collated from both per-device (``online``, ``idle``, This information is collated from both per-device (``online``, ``idle``,
``last_active``) and per-user (status) data, aggregated by the user's homeserver ``last_active``) and per-user (status) data, aggregated by the user's homeserver
and transmitted as an ``m.presence`` event. Presence event are sent to and transmitted as an ``m.presence`` event. Presence events are sent to
interested parties where users share a room membership. interested parties where users share a room membership.
User's presence state is represented by the ``presence`` key, which is an enum User's presence state is represented by the ``presence`` key, which is an enum