--- a/libpurple/protocols/mxit/formcmds.c Fri Jan 07 22:20:18 2011 +0000
+++ b/libpurple/protocols/mxit/formcmds.c Fri Jan 07 22:34:40 2011 +0000
@@ -47,7 +47,11 @@
MXIT_CMD_REPLY, /* Reply (reply) */
MXIT_CMD_PLATREQ, /* Platform Request (platreq) */
MXIT_CMD_SELECTCONTACT, /* Select Contact (selc) */
- MXIT_CMD_IMAGE /* Inline image (img) */
+ MXIT_CMD_IMAGE, /* Inline image (img) */ + MXIT_CMD_SCREENCONFIG, /* Chat-screen config (csc) */ + MXIT_CMD_SCREENINFO, /* Chat-screen info (csi) */ + MXIT_CMD_IMAGESTRIP, /* Image Strip (is) */ + MXIT_CMD_TABLE /* Table (tbl) */ @@ -87,7 +91,7 @@
- /* lets first see if we dont have the inline image already in cache */
+ /* lets first see if we don't have the inline image already in cache */ if (g_hash_table_lookup(iireq->mx->session->iimages, iireq->url)) {
/* inline image found in the cache, so we just ignore this reply */
@@ -149,8 +153,16 @@
else if (strcmp(type, "selc") == 0) /* select contact */
return MXIT_CMD_SELECTCONTACT;
- else if (strcmp(op, "img") == 0)
+ else if (strcmp(op, "img") == 0) /* inline image */ + else if (strcmp(op, "csc") == 0) /* chat-screen config */ + return MXIT_CMD_SCREENCONFIG; + else if (strcmp(op, "csi") == 0) /* chat-screen info */ + return MXIT_CMD_SCREENINFO; + else if (strcmp(op, "is") == 0) /* image-strip */ + return MXIT_CMD_IMAGESTRIP; + else if (strcmp(op, "tbl") == 0) /* table */ @@ -333,7 +345,7 @@
g_string_append_printf(msg, "%s%s>", MXIT_II_TAG, iireq->url);
- /* lets first see if we dont have the inline image already in cache */
+ /* lets first see if we don't have the inline image already in cache */ if (g_hash_table_lookup(mx->session->iimages, iireq->url)) {
/* inline image found in the cache, so we do not have to request it from the web */