[Bug 32611] Implement Room interface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 5 17:20:42 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=32611

--- Comment #12 from Will Thompson <will.thompson at collabora.co.uk> 2011-05-05 08:20:42 PDT ---
(In reply to comment #11)
> (In reply to comment #10)
> > I think it'd be kinder to give more information. How about: "TargetID's node
> > part (%s) doesn't match RoomID (%s)". Ditto the one below.
> 
> Done.

Looks good.

> > (In reply to comment #8)
> > > > > +      g_assert (gabble_decode_jid (target_id, &a, NULL, NULL));
> > > > 
> > > > Assertion with side effects detected! Deserves a similar comment, perhaps "/*
> > > > JIDs that are handles must already be valid */".
> > > 
> > > Done.
> > 
> > No it hasn't been done for the conflict-checking section. You added comments
> > above the assertions, but didn't make them side-effect-free.
> 
> Oh, right, I misunderstood what Simon said. Done.

Cool.

> > Surely it must be possible to avoid repeatedly decoding the JID and
> > asserting about it?
> 
> Maybe. Suggestions?

Re-decode the jid once, just before the two blocks of checks about it? This
isn't really a big deal, it just looks a bit messy.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list