| 810 if(jm->hasBuzz) |
810 if(jm->hasBuzz) |
| 811 handle_buzz(jm); |
811 handle_buzz(jm); |
| 812 |
812 |
| 813 switch(jm->type) { |
813 switch(jm->type) { |
| 814 case JABBER_MESSAGE_OTHER: |
814 case JABBER_MESSAGE_OTHER: |
| 815 purple_debug(PURPLE_DEBUG_INFO, "jabber", |
815 purple_debug_info("jabber", |
| 816 "Received message of unknown type: %s\n", type); |
816 "Received message of unknown type: %s\n", type); |
| 817 /* Fall-through is intentional */ |
817 /* Fall-through is intentional */ |
| 818 case JABBER_MESSAGE_NORMAL: |
818 case JABBER_MESSAGE_NORMAL: |
| 819 case JABBER_MESSAGE_CHAT: |
819 case JABBER_MESSAGE_CHAT: |
| 820 handle_chat(jm); |
820 handle_chat(jm); |
| 1101 |
1101 |
| 1102 if(jm->xhtml) { |
1102 if(jm->xhtml) { |
| 1103 if ((child = xmlnode_from_str(jm->xhtml, -1))) { |
1103 if ((child = xmlnode_from_str(jm->xhtml, -1))) { |
| 1104 xmlnode_insert_child(message, child); |
1104 xmlnode_insert_child(message, child); |
| 1105 } else { |
1105 } else { |
| 1106 purple_debug(PURPLE_DEBUG_ERROR, "jabber", |
1106 purple_debug_error("jabber", |
| 1107 "XHTML translation/validation failed, returning: %s\n", |
1107 "XHTML translation/validation failed, returning: %s\n", |
| 1108 jm->xhtml); |
1108 jm->xhtml); |
| 1109 } |
1109 } |
| 1110 } |
1110 } |
| 1111 |
1111 |