diff libpurple/protocols/msn/nexus.h @ 23447:72aa2ccad28d

fix sending offline message in p15 by sending the correct token. In msnp14, we send the main login token (I realize I may be making up some of the terms here), in p15, we send the one for messengersecure.live.com some refactoring also
author Ka-Hing Cheung <khc@hxbc.us>
date Wed, 26 Dec 2007 01:22:00 +0000
parents 25899ec348a4
children 1b98e2090a71
line wrap: on
line diff
--- a/libpurple/protocols/msn/nexus.h	Wed Dec 26 00:35:26 2007 +0000
+++ b/libpurple/protocols/msn/nexus.h	Wed Dec 26 01:22:00 2007 +0000
@@ -32,7 +32,7 @@
 	MSN_AUTH_MESSENGER     = 0,
 	MSN_AUTH_MESSENGER_WEB = 1,
 	MSN_AUTH_CONTACTS      = 2,
-	MSN_AUTH_LIVE_UNKNOWN  = 3,
+	MSN_AUTH_LIVE_SECURE   = 3,
 	MSN_AUTH_SPACES        = 4,
 	MSN_AUTH_LIVE_CONTACTS = 5,
 	MSN_AUTH_STORAGE       = 6
@@ -134,7 +134,7 @@
 MsnNexus *msn_nexus_new(MsnSession *session);
 void msn_nexus_destroy(MsnNexus *nexus);
 GHashTable *msn_nexus_get_token(MsnNexus *session, MsnAuthDomains id);
-char *msn_nexus_get_token_str(MsnNexus *session, MsnAuthDomains id);
+const char *msn_nexus_get_token_str(MsnNexus *session, MsnAuthDomains id);
 
 #endif /* _MSN_NEXUS_H_ */