Mercurial > pidgin
comparison libpurple/protocols/jabber/presence.c @ 27571:dd5a512645d7
Not sure why I changed this, but it doesn't seem to be necessary. I'm going
to leave in the if() simplification though.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Thu, 16 Jul 2009 04:27:57 +0000 |
parents | a12574d982a1 |
children | affa3b67c651 |
comparison
equal
deleted
inserted
replaced
27565:a0748a638eb0 | 27571:dd5a512645d7 |
---|---|
1063 if(msg) { | 1063 if(msg) { |
1064 formatted_msg = purple_status_get_attr_string(status, "message"); | 1064 formatted_msg = purple_status_get_attr_string(status, "message"); |
1065 | 1065 |
1066 /* if the message is blank, then there really isn't a message */ | 1066 /* if the message is blank, then there really isn't a message */ |
1067 if(formatted_msg && *formatted_msg) | 1067 if(formatted_msg && *formatted_msg) |
1068 *msg = g_strdup(formatted_msg); | 1068 *msg = purple_markup_strip_html(formatted_msg); |
1069 } | 1069 } |
1070 | 1070 |
1071 if(priority) | 1071 if(priority) |
1072 *priority = purple_status_get_attr_int(status, "priority"); | 1072 *priority = purple_status_get_attr_int(status, "priority"); |
1073 } | 1073 } |