and when the hash changes, and you get the vcard, you have to 'assume'
that the presence hash matches the hash of the image data, because
other users _might_ send the same presence.

FYI: JEP-0153 is a Historical JEP, i.e. it attempts to provide
documentation of a protocol that is already in use within the
Jabber/XMPP community.  i.e. When in doubt refer to clients that
implemeted the protocol before the JEP was written.

in this case a _tiny_ change to gajim, or we change all of:
JEP-0153/Psi/Kopete/iChat/PyMSNt/etc/etc.

On 12/5/05, Pedro Melo <[EMAIL PROTECTED]> wrote:
> But is included in the presence.
>
> If the hash is absent from the presence, you should not use the photo
> as avatar, per jep 0153 spec. At least that's my reading of items 1
> and 2 of section 4.1.
>
> Best regards,
>
> On Dec 5, 2005, at 5:32 PM, Norman Rasmussen wrote:
>
> > Except that the hash is not included in the vCard.
> >
> > On 12/5/05, Pedro Melo <[EMAIL PROTECTED]> wrote:
> >> Hi
> >>
> >> Another solution for this, would be to treat the hash as an opaque
> >> value.
> >>
> >> That means that the client should store the image and the hash that
> >> was used.
> >>
> >> This way, it doesn't matter how the hash was generated.
> >>
> >> Best regards,
> >>
> >> On Dec 5, 2005, at 2:59 PM, Norman Rasmussen wrote:
> >>
> >>> On 12/5/05, Jeff Licquia <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>> Iris (Psi, Kopete) doesn't seem to use the hash at all.  I was
> >>>> unable to
> >>>> find other examples of avatar handling in client source.
> >>>
> >>> The Pedrito build of Psi _does_ cache images, you would have to
> >>> check
> >>> the patches applied there to make sure.
> >>>
> >>>> The JEP should probably be clearer on this point.
> >>>
> >>> I have a bone to pick with 'base64' encoding.  Some implementations
> >>> create a newline after every 64 characters, others don't.  Across
> >>> different platforms, these newlines will differ: \n (*nix) vs \r\n
> >>> (win32) vs \r (mac).  As an absolute minimum _if_ the hash is
> >>> computed
> >>> using the base64 encoded data, the newlines must be removed.
> >>>
> >>> All this confusion is removed if the hash is computed on the raw
> >>> image
> >>> data.  Also it's far simpler to compute the hash on the raw data
> >>> using
> >>> _any_ tool. (i.e. openssl, sha1sum, etc)
> >>>
> >>> --
> >>> - Norman Rasmussen
> >>>  - Email: [EMAIL PROTECTED]
> >>>  - Home page: http://norman.rasmussen.co.za/
> >>> _______________________________________________
> >>> py-transports mailing list
> >>> py-transports@blathersource.org
> >>> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
> >>
> >> --
> >> HIId: Pedro Melo
> >> SMTP: [EMAIL PROTECTED]
> >> XMPP: [EMAIL PROTECTED]
> >>
> >> _______________________________________________
> >> py-transports mailing list
> >> py-transports@blathersource.org
> >> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
> >>
> >
> >
> > --
> > - Norman Rasmussen
> >  - Email: [EMAIL PROTECTED]
> >  - Home page: http://norman.rasmussen.co.za/
> > _______________________________________________
> > py-transports mailing list
> > py-transports@blathersource.org
> > http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>
> --
> HIId: Pedro Melo
> SMTP: [EMAIL PROTECTED]
> XMPP: [EMAIL PROTECTED]
>
> _______________________________________________
> py-transports mailing list
> py-transports@blathersource.org
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>


--
- Norman Rasmussen
 - Email: [EMAIL PROTECTED]
 - Home page: http://norman.rasmussen.co.za/
From [EMAIL PROTECTED]  Mon Dec  5 20:58:14 2005
From: [EMAIL PROTECTED] (Eric Langheinrich)
Date: Mon Dec  5 20:58:27 2005
Subject: [py-transports] Installing PyAIM with Jabber2
Message-ID: <[EMAIL PROTECTED]>

I'm just starting to play with Jabber2 and the Py-Transports. I've got
Jabber2 up and running and thought that I had everything configured properly
with PyAIM. When I log into my jabber client, I am unable to see the
transport. I have PyAIM running in a shell window as the server process, and
do not see anything on stdout.

Any suggestions on how to test/troubleshoot my configuration would be
greatly appreciated.

Reply via email to