[Telepathy] Minor patch to Telepathy.Channel->GetSelfHandle()

Robert McQueen robert.mcqueen at collabora.co.uk
Fri Aug 4 07:56:26 PDT 2006


Merged, sorry about the delay.

Regards,
Rob

Daniel d'Andrada Tenório de Carvalho wrote:
> Hi,
> 
> This patch clarifies/corrects the description of Channel->GetSelfHandle().
> 
> Regards,
> Daniel d'Andrada T. de Carvalho - INdT
> 
> 
> ------------------------------------------------------------------------
> 
> diff -rN -u old-telepathy-spec/telepathy/server/channel.py new-telepathy-spec/telepathy/server/channel.py
> --- old-telepathy-spec/telepathy/server/channel.py	2006-07-21 16:42:37.000000000 +0000
> +++ new-telepathy-spec/telepathy/server/channel.py	2006-07-21 16:42:37.000000000 +0000
> @@ -1041,11 +1041,12 @@
>      @dbus.service.method(CHANNEL_INTERFACE_GROUP, in_signature='', out_signature='u')
>      def GetSelfHandle(self):
>          """
> -        Returns the handle for the user on this channel if they are pending
> -        (local or remote) or a current member, and 0 if not. Note that this
> -        is different from the connection GetSelfHandle on some protocols,
> -        so the value of this handle should always be used with the methods
> -        of this interface.
> +        Returns the handle for the user on this channel (which can also be a
> +        local or remote pending member) or 0 if the user not a member at all
> +        (which is likely to be the case, for instance, on Type.ContactList
> +        channels). Note that this is different from the connection
> +        GetSelfHandle on some protocols, so the value of this handle should
> +        always be used with the methods of this interface.
>  
>          Possible Errors:
>          Disconnected, NetworkError
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Telepathy mailing list
> Telepathy at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/telepathy


-- 
Robert McQueen
Director, Collabora Ltd.


More information about the Telepathy mailing list