comparison libpurple/protocols/myspace/myspace.c @ 17896:01d7e5096dde

Expand on a couple TODO comments. Current TODO counts: 36 myspace.c 13 message.c 5 myspace.h
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Wed, 20 Jun 2007 04:10:11 +0000
parents 06d60201e371
children 72f0a6fc6024
comparison
equal deleted inserted replaced
17895:06d60201e371 17896:01d7e5096dde
784 user_info = purple_notify_user_info_new(); 784 user_info = purple_notify_user_info_new();
785 785
786 buddy = purple_find_buddy(session->account, name); 786 buddy = purple_find_buddy(session->account, name);
787 if (!buddy) 787 if (!buddy)
788 { 788 {
789 /* TODO: profile of buddies not on blist! */ 789 /* TODO: profile of buddies not on blist! Wouldn't be too hard,
790 * just have to schedule a lookup, and when receive reply,
791 * call purple_notify_userinfo() etc.
792 */
790 purple_notify_user_info_add_pair(user_info, NULL, 793 purple_notify_user_info_add_pair(user_info, NULL,
791 "Sorry, currently user information can only be retrieved from users on your buddy list."); 794 "Sorry, currently user information can only be retrieved from users on your buddy list.");
792 purple_notify_userinfo(gc, name, user_info, NULL, NULL); 795 purple_notify_userinfo(gc, name, user_info, NULL, NULL);
793 purple_notify_user_info_destroy(user_info); 796 purple_notify_user_info_destroy(user_info);
794 return; 797 return;
1366 msim_msg_free(msg); 1369 msim_msg_free(msg);
1367 return; 1370 return;
1368 } 1371 }
1369 msim_msg_free(msg); 1372 msim_msg_free(msg);
1370 1373
1371 /* TODO: update blocklist */ 1374 /* TODO: update blocklist. Compare to delbuddy for how to do. */
1372 #if 0 1375 #if 0
1373 /* TODO */ 1376 /* TODO */
1374 if (!msim_postprocess_outgoing(session, 1377 if (!msim_postprocess_outgoing(session,
1375 "persist", MSIM_TYPE_INTEGER, 1, 1378 "persist", MSIM_TYPE_INTEGER, 1,
1376 "sesskey", MSIM_TYPE_INTEGER, session->sesskey, 1379 "sesskey", MSIM_TYPE_INTEGER, session->sesskey,