Added a system of weighted preferences to the
authorArt Cancro <ajc@citadel.org>
Tue, 24 Oct 2006 03:05:21 +0000 (03:05 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 24 Oct 2006 03:05:21 +0000 (03:05 +0000)
commitef095080b26c0695b939179677fc558384b3437a
treefff7c9fcefbaba95a4eb06703837769577fc64bc
parentfcfde0ca84e8578e0bd5d013d2ee70aba11c96e5
Added a system of weighted preferences to the
choose_preferred() callback.  This will ensure that when we parse a
multipart/alternative message, the MIME types we've declared earlier in
our preference list will always be chosen ahead of the ones we've
declared later.  This will eliminate the need for the text client to
parse HTML messages when there's a perfectly good text/plain available.
citadel/msgbase.c
citadel/msgbase.h