diff -r a16d7668ab43 -r c29352b95fa6 libpurple/protocols/myspace/myspace.c --- a/libpurple/protocols/myspace/myspace.c Thu Jun 14 01:33:49 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.c Thu Jun 14 01:53:58 2007 +0000 @@ -1536,6 +1536,16 @@ /* TODO: update blocklist */ } +/** Return whether the buddy can be messaged while offline. + * + * I always return TRUE, to allow sending to buddies whose status has not yet + * been received. The protocol _does_ support offline messages, but not this plugin. + * TODO: Real offline message support. + */ +gboolean msim_offline_message(const PurpleBuddy *buddy) +{ + return TRUE; +} /** @@ -2061,7 +2071,7 @@ NULL, /* can_receive_file */ NULL, /* send_file */ NULL, /* new_xfer */ - NULL, /* offline_message */ + msim_offline_message, /* offline_message */ NULL, /* whiteboard_prpl_ops */ NULL, /* send_raw */ NULL, /* roomlist_room_serialize */