[Sugar-devel] [Server-devel] Reasonable number of users sharing an activity instance?

James Cameron quozl at laptop.org
Wed Apr 6 06:28:58 EDT 2011


On Wed, Apr 06, 2011 at 11:35:49AM +0200, Christoph Derndorfer wrote:
> I seem to remember some discussions about an activity or its metadata
> specifying for how many users its made for (e.g. two users for certain
> activities and games). Additional users would then be able to observe
> the collaborative mode in some sort of "view only" mode. Unfortunately
> I now can't seem to find the appropriate e-mail threads on the
> lists...

Perhaps you recall this meme:

class MyActivity(Activity):
    def __init__(self, handle):
	Activity.__init__(self, handle)
	self.max_participants = 1

However, I cannot see any code in sugar-toolkit that uses the
max_participants property for anything other than deciding whether to
show the share-with widget.

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list