[sugar] [PATCH] Refactor invites for 1-1 Chat (#6298)

Morgan Collett morgan.collett at gmail.com
Fri Jun 13 09:41:27 EDT 2008


On Fri, Jun 13, 2008 at 14:56, Tomeu Vizoso <tomeu at tomeuvizoso.net> wrote:
>
> #6298: Launch Chat for 1-1 XMPP chat
>
> +            activityfactory.create_with_uri('org.laptop.Chat', tp_channel)
>
> Marco, I thought we wanted to deprecate create_with_uri()? Do you have
> a better idea here?

What I need is to pass a string to the activity, in the metadata. It's
not a URI (actually it's the json-encoded strings for a telepathy
channel) but create_with_uri was the closest to what I need.

I'm happy to change to something similar which isn't create_with_uri,
but I don't know what you would prefer.

Regards
Morgan


More information about the Sugar mailing list