comparison libpurple/protocols/myspace/myspace.c @ 17900:f903418147f6

Clean up TODOs: - Offline messages are supported. - No more warnings about status.
author Jeffrey Connelly <jaconnel@calpoly.edu>
date Fri, 22 Jun 2007 04:48:30 +0000
parents 61f0b36b9891
children 8caecd2c079c
comparison
equal deleted inserted replaced
17899:61f0b36b9891 17900:f903418147f6
70 70
71 purple_debug_info("myspace", "returning status types\n"); 71 purple_debug_info("myspace", "returning status types\n");
72 72
73 types = NULL; 73 types = NULL;
74 74
75 /* TODO: Fix these:
76 *
77 * g_log: purple_presence_get_active_status: assertion `presence != NULL' failed
78 * g_log: purple_status_get_name: assertion `status != NULL' failed
79 * [...]
80 *
81 * and
82 * g_log: purple_presence_set_status_active: assertion `status != NULL' failed
83 * [...]
84 */
85 status = purple_status_type_new_full(PURPLE_STATUS_AVAILABLE, NULL, NULL, FALSE, TRUE, FALSE); 75 status = purple_status_type_new_full(PURPLE_STATUS_AVAILABLE, NULL, NULL, FALSE, TRUE, FALSE);
86 types = g_list_append(types, status); 76 types = g_list_append(types, status);
87 77
88 status = purple_status_type_new_full(PURPLE_STATUS_AWAY, NULL, NULL, FALSE, TRUE, FALSE); 78 status = purple_status_type_new_full(PURPLE_STATUS_AWAY, NULL, NULL, FALSE, TRUE, FALSE);
89 types = g_list_append(types, status); 79 types = g_list_append(types, status);
1702 1692
1703 /** Return whether the buddy can be messaged while offline. 1693 /** Return whether the buddy can be messaged while offline.
1704 * 1694 *
1705 * I always return TRUE, to allow sending to buddies whose status has not yet 1695 * I always return TRUE, to allow sending to buddies whose status has not yet
1706 * been received. The protocol _does_ support offline messages, but not this plugin. 1696 * been received. The protocol _does_ support offline messages, but not this plugin.
1707 * TODO: Real offline message support.
1708 */ 1697 */
1709 gboolean msim_offline_message(const PurpleBuddy *buddy) 1698 gboolean msim_offline_message(const PurpleBuddy *buddy)
1710 { 1699 {
1711 return TRUE; 1700 return TRUE;
1712 } 1701 }