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

Tomeu Vizoso tomeu
Fri Jun 13 10:32:57 EDT 2008


r+ ;)

On Fri, Jun 13, 2008 at 3:41 PM, Morgan Collett
<morgan.collett at gmail.com> wrote:
> 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-devel mailing list