[jdev] jabberd 2.0 vcard-temp patch

Norman Rasmussen normanr at gmail.com
Thu Sep 15 13:26:33 CDT 2005


re: max_vcard_field_length/VCARD_MAX_FIELD_SIZE is there now a good
way to make this limit go away....

As Alex points out this should be a client side restriction only, so
the server should handle _any_ size field.  This basically means that
a malloc has to be done right? (instead of using a static char array).

On 15/09/05, Norman Rasmussen <normanr at gmail.com> wrote:
> See http://j2.openaether.org/bugzilla/show_bug.cgi?id=29 the patch has
> been around for about 6 months.
> 
> On 15/09/05, Robert B Quattlebaum, Jr. <darco at deepdarc.com> wrote:
> > Greetings all!
> >
> > I just migrated from jabberd 1.4 to jabberd 2.0, and I noticed that the
> > vcard implementation was missing a few things, such at the <PHOTO> tag
> > necessary for vcard avatars
> > <http://www.jabber.org/jeps/jep-0153.html> to work.
> > Luckily, it was very easy to add this functionality. I also added support
> > for a number of other fields that are supported in the vcard-temp
> > <http://www.jabber.org/jeps/jep-0054.html> spec.
> >
> > Here is my patch:
> >
> > http://www.deepdarc.com/vcard-avatar.diff
> >
> > Someone else will need to add the appropriate fields to the schema's for the
> > databases other than MySQL(Which I update in this patch).
> >
> > Comments welcome.
> >
> >
> > __________________
> > Robert Quattlebaum
> > Mobile: +1(425)443-6785
> > eMail:  darco at deepdarc.com
> > Jabber: darco at deepdarc.com
> > MSN:    darco at deepdarc.com
> > AIM:    rquat2
> > yahoo:  robert_quattlebaum
> > ICQ:    1454810
> >
> >
> >
> >
> 
> 
> --
> - Norman Rasmussen
>  - Email: norman at rasmussen.co.za
>  - Home page: http://norman.rasmussen.co.za/
> 


-- 
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/



More information about the JDev mailing list