sugarlabs/sugar — pull request #434 by ignaciouy (2014-12-11 19:22:23+00:00)
Title: Hide 'Invite to <activity>' menu option if the activity cant be shared

With this changes, the 'Invite to ' option in the
buddy menu only show if max_participants is <= 1.
max_participants is a field off activity.info, the default is 0
so, if you want you activity sharable set max_participants
to one number > 1

Fixes SL#2702