4 Commits (363f82820557e3b15e6c36334bceeae1f863ed31)

Author SHA1 Message Date
Tomeu Vizoso 363f828205 Handle invitations using Mission Control 5.
src/sugar/activity/activity.py: If the activity is being invoked to
handle an invite, create a Client.Handler instance and share the
activity when HandleChannels is invoked.

src/sugar/activity/activityfactory.py,
src/sugar/activity/activityhandle.py,
src/sugar/activity/main.py: Add a -i switch that indicates to the
activity that it should handle the channel from an invitation.

src/sugar/presence/activity.py: Expose Activity.room_handle.

src/sugar/presence/presenceservice.py: Add get_activity_by_handle().

src/sugar/presence/util.py: Add get_account_for_connection().
14 years ago
Tomeu Vizoso 46159e987b Pass the account path to the Activity on creation 14 years ago
Tomeu Vizoso 1a4c721f3d Identify buddies and activities by their account and ids instead
of connection and handle.
14 years ago
Tomeu Vizoso cc8ecd81e7 Add src/sugar/presence/util.py 14 years ago