Mercurial > pidgin.yaz
comparison src/server.c @ 9166:1e51236d825e
[gaim-migrate @ 9951]
This removes some stuff for im image that isn't used anymore.
Basicly one of the things I did when i brought it back, was to make it so
the host widget doesn't have to do any special handling for its imhtml to
support <img id="###"> tags. And while this goal was achieved in 0.78,
there's still code all over the place that checks flags that aren't used
and iterates over lists that will always be empty. This doesn't remove all
of it, but removes some of it anyway.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Wed, 02 Jun 2004 05:08:49 +0000 |
parents | 6038664a67fe |
children | f18eb3f22733 |
comparison
equal
deleted
inserted
replaced
9165:43ea2b858112 | 9166:1e51236d825e |
---|---|
862 /* | 862 /* |
863 * Um. When we call gaim_conversation_write with the message we received, | 863 * Um. When we call gaim_conversation_write with the message we received, |
864 * it's nice to pass whether or not it was an auto-response. So if it | 864 * it's nice to pass whether or not it was an auto-response. So if it |
865 * was an auto-response, we set the appropriate flag. This is just so | 865 * was an auto-response, we set the appropriate flag. This is just so |
866 * prpls don't have to know about GAIM_MESSAGE_* (though some do anyway). | 866 * prpls don't have to know about GAIM_MESSAGE_* (though some do anyway). |
867 * We also need to preserve the flag that tells the UI to look for the | |
868 * associated images. | |
869 */ | 867 */ |
870 msgflags = GAIM_MESSAGE_RECV; | 868 msgflags = GAIM_MESSAGE_RECV; |
871 if (imflags & GAIM_CONV_IM_AUTO_RESP) | 869 if (imflags & GAIM_CONV_IM_AUTO_RESP) |
872 msgflags |= GAIM_MESSAGE_AUTO_RESP; | 870 msgflags |= GAIM_MESSAGE_AUTO_RESP; |
873 if (imflags & GAIM_CONV_IM_IMAGES) | |
874 msgflags |= GAIM_MESSAGE_IMAGES; | |
875 | 871 |
876 /* | 872 /* |
877 * Alright. Two cases for how to handle this. Either we're away or | 873 * Alright. Two cases for how to handle this. Either we're away or |
878 * we're not. If we're not, then it's easy. If we are, then there | 874 * we're not. If we're not, then it's easy. If we are, then there |
879 * are three or four different ways of handling it and different | 875 * are three or four different ways of handling it and different |