diff pidgin/gtkdialogs.c @ 18106:40d51793f2d7

propagate from branch 'im.pidgin.pidgin.2.1.0' (head d8c7c08339ae468cb4298f6850eb7d3b760ad7b5) to branch 'im.pidgin.pidgin' (head 7f1ffdbda951c2effec7bfbfa8148e9ce98e7669)
author Sean Egan <seanegan@gmail.com>
date Fri, 15 Jun 2007 19:34:24 +0000
parents f13334f5717e a307926a3432
children 463aba76c5b6
line wrap: on
line diff
--- a/pidgin/gtkdialogs.c	Fri Jun 15 19:07:02 2007 +0000
+++ b/pidgin/gtkdialogs.c	Fri Jun 15 19:34:24 2007 +0000
@@ -822,17 +822,8 @@
 	if (username != NULL && purple_str_has_suffix(username, "rocksmyworld"))
 		found = pidgin_dialogs_ee(username);
 
-	if (!found && username != NULL && *username != '\0' && account != NULL) {
-
-		PurpleConnection *gc = purple_account_get_connection(account);
-
-		PurpleNotifyUserInfo *info = purple_notify_user_info_new();
-		purple_notify_user_info_add_pair(info, _("Information"), _("Retrieving..."));
-		purple_notify_userinfo(gc, username, info, NULL, NULL);
-		purple_notify_user_info_destroy(info);
-
-		serv_get_info(gc, username);
-	}
+	if (!found && username != NULL && *username != '\0' && account != NULL)
+		pidgin_retrieve_user_info(purple_account_get_connection(account), username);
 
 	g_free(username);
 }
@@ -1241,3 +1232,4 @@
 
 	g_free(text);
 }
+}