| 62 default_tos[0] = jabber_get_bare_jid(to); |
62 default_tos[0] = jabber_get_bare_jid(to); |
| 63 |
63 |
| 64 message = xmlnode_get_child(child, "mail-thread-info"); |
64 message = xmlnode_get_child(child, "mail-thread-info"); |
| 65 |
65 |
| 66 if (count == 0 || !message) { |
66 if (count == 0 || !message) { |
| 67 purple_notify_emails(js->gc, count, FALSE, NULL, NULL, (const char**) default_tos, NULL, NULL, NULL); |
67 if (count > 0) |
| |
68 purple_notify_emails(js->gc, count, FALSE, NULL, NULL, (const char**) default_tos, NULL, NULL, NULL); |
| 68 g_free(default_tos[0]); |
69 g_free(default_tos[0]); |
| 69 return; |
70 return; |
| 70 } |
71 } |
| 71 |
72 |
| 72 /* Loop once to see how many messages were returned so we can allocate arrays |
73 /* Loop once to see how many messages were returned so we can allocate arrays |