changeset 17655:60f614824207

Update author email address. Add TODO for message formatting.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Wed, 20 Jun 2007 04:52:01 +0000
parents 72f0a6fc6024
children 61f0b36b9891
files libpurple/protocols/myspace/myspace.c
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c	Wed Jun 20 04:44:12 2007 +0000
+++ b/libpurple/protocols/myspace/myspace.c	Wed Jun 20 04:52:01 2007 +0000
@@ -665,12 +665,17 @@
 gboolean msim_incoming_im(MsimSession *session, MsimMessage *msg)
 {
     gchar *username;
+	gchar *msg_text;
 
     username = msim_msg_get_string(msg, "_username");
+	msg_text = msim_msg_get_string(msg, "msg");
 
-    serv_got_im(session->gc, username, msim_msg_get_string(msg, "msg"), PURPLE_MESSAGE_RECV, time(NULL));
+	/* TODO: replace msim-markup with gtkimhtml. */
+
+    serv_got_im(session->gc, username, msg_text, PURPLE_MESSAGE_RECV, time(NULL));
 
 	g_free(username);
+	g_free(msg_text);
 
 	return TRUE;
 }
@@ -2214,7 +2219,7 @@
     "MySpaceIM Protocol Plugin",
                                                       /**  description    */
     "MySpaceIM Protocol Plugin",
-    "Jeff Connelly <myspaceim@xyzzy.cjb.net>",        /**< author         */
+    "Jeff Connelly <jeff2@homing.pidgin.im>",         /**< author         */
     "http://developer.pidgin.im/wiki/MySpaceIM/",     /**< homepage       */
 
     msim_load,                                        /**< load           */