im.pidgin.pidgin: 74e8ed5c30497ec4b19d92b3de3ef99b844138cf

markdoliner at pidgin.im markdoliner at pidgin.im
Sun Dec 2 15:25:42 EST 2007


-----------------------------------------------------------------
Revision: 74e8ed5c30497ec4b19d92b3de3ef99b844138cf
Ancestor: 4c2f13fa0f00a747c4c6262594abbd812155225c
Author: markdoliner at pidgin.im
Date: 2007-12-02T20:22:32
Branch: im.pidgin.pidgin

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

ChangeLog: 

Always set gc->display_name to the formatted version of your screen
name even when you're not in your buddylist.  This fix is care of
meebo

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	afe9df6349cd4f1054470af9aee4c79691c9c5f5
+++ libpurple/protocols/oscar/oscar.c	bc1895f04094d44470c55ecb6ccc1fd9e102f026
@@ -1831,9 +1831,6 @@ static int purple_parse_oncoming(OscarDa
 		signon = info->onlinesince;
 	else if (info->present & AIM_USERINFO_PRESENT_SESSIONLEN)
 		signon = time(NULL) - info->sessionlen;
-	if (!aim_sncmp(purple_account_get_username(account), info->sn)) {
-		purple_connection_set_display_name(gc, info->sn);
-	}
 	purple_prpl_got_user_login_time(account, info->sn, signon);
 
 	/* Idle time stuff */
@@ -3435,6 +3432,8 @@ static int purple_selfinfo(OscarData *od
 	info = va_arg(ap, aim_userinfo_t *);
 	va_end(ap);
 
+	purple_connection_set_display_name(od->gc, info->sn);
+
 	/*
 	 * What's with the + 0.5?
 	 * The 0.5 is basically poor-man's rounding.  Normally


More information about the Commits mailing list