changeset 22398:791c9545846b

Make sure we tell stuff that oscar supports offline messages for AIM users
author Mark Doliner <mark@kingant.net>
date Mon, 03 Mar 2008 09:03:47 +0000
parents c59489e56735
children 3370f295a1e0
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Mon Mar 03 08:50:27 2008 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Mon Mar 03 09:03:47 2008 +0000
@@ -6640,18 +6640,7 @@
 gboolean
 oscar_offline_message(const PurpleBuddy *buddy)
 {
-	OscarData *od = NULL;
-	PurpleAccount *account;
-	PurpleConnection *gc = NULL;
-
-	account = purple_buddy_get_account(buddy);
-	if (account != NULL) {
-		gc = purple_account_get_connection(account);
-		if (gc != NULL)
-			od = (OscarData *)gc->proto_data;
-	}
-
-	return (od != NULL && od->icq && aim_snvalid_icq(purple_account_get_username(account)));
+	return TRUE;
 }
 
 /* TODO: Find somewhere to put this instead of including it in a bunch of places.