pidgin: a5f957ad: Make sure we tell stuff that oscar suppo...

markdoliner at pidgin.im markdoliner at pidgin.im
Mon Mar 3 04:06:48 EST 2008


-----------------------------------------------------------------
Revision: a5f957ad0e0684cede85a142845c68861b2566bd
Ancestor: 811ab21a583c493dc88f4a80c77c67accc142287
Author: markdoliner at pidgin.im
Date: 2008-03-03T09:03:47
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/a5f957ad0e0684cede85a142845c68861b2566bd

Modified files:
        libpurple/protocols/oscar/oscar.c

ChangeLog: 

Make sure we tell stuff that oscar supports offline messages for AIM
users

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	50c56e911d19637677cb71388f6935654ea36470
+++ libpurple/protocols/oscar/oscar.c	3df3cf0be599ab579b7f93b2faa814549392a557
@@ -6640,18 +6640,7 @@ oscar_offline_message(const PurpleBuddy 
 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.


More information about the Commits mailing list