[Telepathy-commits] [telepathy-spec/master] Group: MembersChangedDetailed flag's state must not change

Will Thompson will.thompson at collabora.co.uk
Fri Jan 2 11:34:35 PST 2009


It may in retrospect have been a mistake to use a group flag to signal
that the MembersChangedDetailed signal will be emitted, since groups'
flags can change over their lifetime so a channel might start and stop
emitting the new signal. So... let's define that not to happen. :-)
---
 spec/Channel_Interface_Group.xml |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/spec/Channel_Interface_Group.xml b/spec/Channel_Interface_Group.xml
index 3b56d23..178374d 100644
--- a/spec/Channel_Interface_Group.xml
+++ b/spec/Channel_Interface_Group.xml
@@ -226,7 +226,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
           Indicates that <tp:member-ref>MembersChangedDetailed</tp:member-ref>
           will be emitted for changes to this group's members in addition to
           <tp:member-ref>MembersChanged</tp:member-ref>.
-          Clients can then connect to the former and ignore emission of the latter.
+          Clients can then connect to the former and ignore emission of the
+          latter. This flag's state MUST NOT change over the lifetime of a
+          channel.
+
+          <tp:rationale>
+            If it were allowed to change, client bindings would have to always
+            connect to MembersChanged just in case the flag ever went away (and
+            generally be unnecessarily complicated), which would mostly negate
+            the point of having this flag in the first place.
+          </tp:rationale>
         </tp:docstring>
       </tp:flag>
     </tp:flags>
-- 
1.5.6.5




More information about the Telepathy-commits mailing list