mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-22 11:24:08 +01:00
Add note on how to use the account data event
This commit is contained in:
parent
d791f35007
commit
e2024e5829
|
|
@ -38,7 +38,8 @@ Client behaviour
|
||||||
----------------
|
----------------
|
||||||
The invitee's client may use the ``is_direct`` flag to automatically mark the
|
The invitee's client may use the ``is_direct`` flag to automatically mark the
|
||||||
room as a direct message but this is not required: it may for example, prompt
|
room as a direct message but this is not required: it may for example, prompt
|
||||||
the user, ignore the flag altogether.
|
the user, ignore the flag altogether. To do this, it stores this event in
|
||||||
|
account data using the ``account_data`` API: see `Client Config`_.
|
||||||
|
|
||||||
The inviter's client should set the ``is_direct`` flag to ``createRoom``
|
The inviter's client should set the ``is_direct`` flag to ``createRoom``
|
||||||
whenever the flow the user has followed is one where their intention is to
|
whenever the flow the user has followed is one where their intention is to
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue