diff libpurple/protocols/mxit/protocol.h @ 31745:5c45bd701cdf

* Send the MXit Client version as the libpurple version rather than always "5.9.0". * Also use MXit protocol v6 when registering.
author andrew.victor@mxit.com
date Wed, 26 Jan 2011 09:22:39 +0000
parents 93c7d43af340
children 02b510d2d014
line wrap: on
line diff
--- a/libpurple/protocols/mxit/protocol.h	Wed Jan 26 08:36:08 2011 +0000
+++ b/libpurple/protocols/mxit/protocol.h	Wed Jan 26 09:22:39 2011 +0000
@@ -86,12 +86,10 @@
 #define		MXIT_ACK_TIMEOUT		( 30 )					/* timeout after waiting X seconds for an ack from the server (30 seconds) */
 
 /* MXit client version */
-#define		MXIT_CP_DISTCODE		"P"						/* client distribution code (magic, do not touch!) */
-#define		MXIT_CP_RELEASE			"5.9.0"					/* client version */
+#define		MXIT_CP_DISTCODE		'P'						/* client distribution code (magic, do not touch!) */
 #define		MXIT_CP_ARCH			"Y"						/* client architecture series (Y not for Yoda but for PC-client) */
 #define		MXIT_CLIENT_ID			"LP"					/* client ID as specified by MXit */
 #define		MXIT_CP_PLATFORM		"PURPLE"				/* client platform */
-#define		MXIT_CP_VERSION			MXIT_CP_DISTCODE"-"MXIT_CP_RELEASE"-"MXIT_CP_ARCH"-"MXIT_CP_PLATFORM
 #define		MXIT_CP_PROTO_VESION	60						/* client protocol version */
 
 /* set operating system name */