Mercurial > pidgin
comparison libpurple/protocols/jabber/google.c @ 28646:9feec7d1d95c
jabber: Add the missing file and fix up the Google session namespaces
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Thu, 26 Nov 2009 22:47:53 +0000 |
parents | 7b4ade7c6d8a |
children | 9ae3e70a327b |
comparison
equal
deleted
inserted
replaced
28645:7b4ade7c6d8a | 28646:9feec7d1d95c |
---|---|
79 | 79 |
80 static xmlnode * | 80 static xmlnode * |
81 google_session_create_xmlnode(GoogleSession *session, const char *type) | 81 google_session_create_xmlnode(GoogleSession *session, const char *type) |
82 { | 82 { |
83 xmlnode *node = xmlnode_new("session"); | 83 xmlnode *node = xmlnode_new("session"); |
84 xmlnode_set_namespace(node, "http://www.google.com/session"); | 84 xmlnode_set_namespace(node, NS_GOOGLE_SESSION); |
85 xmlnode_set_attrib(node, "id", session->id.id); | 85 xmlnode_set_attrib(node, "id", session->id.id); |
86 xmlnode_set_attrib(node, "initiator", session->id.initiator); | 86 xmlnode_set_attrib(node, "initiator", session->id.initiator); |
87 xmlnode_set_attrib(node, "type", type); | 87 xmlnode_set_attrib(node, "type", type); |
88 return node; | 88 return node; |
89 } | 89 } |