Unshare an Activity

Bert Freudenberg bert at freudenbergs.de
Mon Feb 16 03:27:10 EST 2009

On 16.02.2009, at 09:10, Bert Freudenberg wrote:

> On 16.02.2009, at 00:21, Jorge Saldivar wrote:
>> Hi all,
>> I am doing an activity for blind childrens and I need to know If
>> some one knows if sugar has a way to programmaticaly unshare a
>> shared activity?, and if it has, how can i do that?.
>> If I join a shared activity I can use the leave method from activity
>> object of presenceservice to leave the shared activity, but, if I
>> share how can I stop sharing it?
> The shared activity has a Leave() function:

Err, you knew that already. To early. Need coffee.

But, even if you initiated the sharing, you can leave the shared  
activity. After an activity has been shared, all participants are equal.

> The activity will of course continue to be shared between the other
> participants.

I think there is no way to "force" un-sharing of an activity. You  
could only implement it yourself by sending a message to all other  
participants while still shared, and each one of them leaves the  

- Bert -

More information about the Devel mailing list