| 73 identity = xmlnode_new_child(query, "identity"); |
73 identity = xmlnode_new_child(query, "identity"); |
| 74 xmlnode_set_attrib(identity, "category", "client"); |
74 xmlnode_set_attrib(identity, "category", "client"); |
| 75 xmlnode_set_attrib(identity, "type", "pc"); /* XXX: bot, console, |
75 xmlnode_set_attrib(identity, "type", "pc"); /* XXX: bot, console, |
| 76 * handheld, pc, phone, |
76 * handheld, pc, phone, |
| 77 * web */ |
77 * web */ |
| 78 xmlnode_set_atttrib(identity, "name", PACKAGE); |
78 xmlnode_set_attrib(identity, "name", PACKAGE); |
| 79 |
79 |
| 80 SUPPORT_FEATURE("jabber:iq:last") |
80 SUPPORT_FEATURE("jabber:iq:last") |
| 81 SUPPORT_FEATURE("jabber:iq:oob") |
81 SUPPORT_FEATURE("jabber:iq:oob") |
| 82 SUPPORT_FEATURE("jabber:iq:time") |
82 SUPPORT_FEATURE("jabber:iq:time") |
| 83 SUPPORT_FEATURE("jabber:iq:version") |
83 SUPPORT_FEATURE("jabber:iq:version") |