From e2024e58297d9517434ca7a2cce8f966bdb6e4a5 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 5 Oct 2016 13:22:30 +0100 Subject: [PATCH] Add note on how to use the account data event --- specification/modules/dm.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/modules/dm.rst b/specification/modules/dm.rst index 639f7f85..4785f5b1 100644 --- a/specification/modules/dm.rst +++ b/specification/modules/dm.rst @@ -38,7 +38,8 @@ Client behaviour ---------------- 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 -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`` whenever the flow the user has followed is one where their intention is to