Mercurial > pidgin.yaz
comparison libpurple/protocols/myspace/myspace.c @ 17898: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 |
comparison
equal
deleted
inserted
replaced
17897:72f0a6fc6024 | 17898:60f614824207 |
---|---|
663 * @return TRUE if successful. | 663 * @return TRUE if successful. |
664 */ | 664 */ |
665 gboolean msim_incoming_im(MsimSession *session, MsimMessage *msg) | 665 gboolean msim_incoming_im(MsimSession *session, MsimMessage *msg) |
666 { | 666 { |
667 gchar *username; | 667 gchar *username; |
668 gchar *msg_text; | |
668 | 669 |
669 username = msim_msg_get_string(msg, "_username"); | 670 username = msim_msg_get_string(msg, "_username"); |
670 | 671 msg_text = msim_msg_get_string(msg, "msg"); |
671 serv_got_im(session->gc, username, msim_msg_get_string(msg, "msg"), PURPLE_MESSAGE_RECV, time(NULL)); | 672 |
673 /* TODO: replace msim-markup with gtkimhtml. */ | |
674 | |
675 serv_got_im(session->gc, username, msg_text, PURPLE_MESSAGE_RECV, time(NULL)); | |
672 | 676 |
673 g_free(username); | 677 g_free(username); |
678 g_free(msg_text); | |
674 | 679 |
675 return TRUE; | 680 return TRUE; |
676 } | 681 } |
677 | 682 |
678 /** | 683 /** |
2212 "0.8", /**< version */ | 2217 "0.8", /**< version */ |
2213 /** summary */ | 2218 /** summary */ |
2214 "MySpaceIM Protocol Plugin", | 2219 "MySpaceIM Protocol Plugin", |
2215 /** description */ | 2220 /** description */ |
2216 "MySpaceIM Protocol Plugin", | 2221 "MySpaceIM Protocol Plugin", |
2217 "Jeff Connelly <myspaceim@xyzzy.cjb.net>", /**< author */ | 2222 "Jeff Connelly <jeff2@homing.pidgin.im>", /**< author */ |
2218 "http://developer.pidgin.im/wiki/MySpaceIM/", /**< homepage */ | 2223 "http://developer.pidgin.im/wiki/MySpaceIM/", /**< homepage */ |
2219 | 2224 |
2220 msim_load, /**< load */ | 2225 msim_load, /**< load */ |
2221 NULL, /**< unload */ | 2226 NULL, /**< unload */ |
2222 NULL, /**< destroy */ | 2227 NULL, /**< destroy */ |