diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-09-11 18:25:11 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-09-11 18:25:11 +0000 |
commit | f1f04945ac90306dac0f39aa44c40698e07e6bcb (patch) | |
tree | 8fd77fac2c752acf2473b5febf326fd00251148e | |
parent | a04488943f7cad5af681f3b6ea9fa775ef4e65b9 (diff) |
When joining a Group, CMs are required to (try to) wait for the state to settle (e.g. listing all members) before moving the local user from remote-pending to members
-rw-r--r-- | spec/Channel_Interface_Group.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/Channel_Interface_Group.xml b/spec/Channel_Interface_Group.xml index 853ed67a..b9f1c9de 100644 --- a/spec/Channel_Interface_Group.xml +++ b/spec/Channel_Interface_Group.xml @@ -544,6 +544,23 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</ member at all, unless they appear in the list. They may, for instance, be placed into the remote pending list until a connection has been established or the request acknowledged remotely.</p> + + <p>If the local user joins a Group channel whose members or other state + cannot be discovered until the user joins (e.g. many chat room + implementations), the connection manager should ensure that the channel + is, as far as possible, in a consistent state before adding the local + contact to the members set; until this happens, the local contact should + be in the remote-pending set. For instance, if the connection manager + queries the server to find out the initial members list for the + channel, it should leave the local contact in the remote-pending set + until it has finished receiving the initial members list. + </p> + + <p>If the protocol provides no reliable way to tell whether the complete + initial members list has been received yet, the connection manager + should make a best-effort attempt to wait for the full list + (in the worst case, waiting for a suitable arbitrary timeout) + rather than requiring user interfaces to do so on its behalf.</p> </tp:docstring> </interface> </node> |