diff src/server.c @ 249:810c595258c8

[gaim-migrate @ 259] You can now get users' away messages. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 22 May 2000 01:18:32 +0000
parents cfc73b8501a7
children 4a41f8323022
line wrap: on
line diff
--- a/src/server.c	Sun May 21 11:58:18 2000 +0000
+++ b/src/server.c	Mon May 22 01:18:32 2000 +0000
@@ -172,7 +172,17 @@
         g_snprintf(buf, MSG_LEN, "toc_get_info %s", normalize(name));
         sflap_send(buf, -1, TYPE_DATA);
 #else
-	aim_getinfo(gaim_sess, gaim_conn, name);
+	aim_getinfo(gaim_sess, gaim_conn, name, AIM_GETINFO_GENERALINFO);
+#endif
+}
+
+void serv_get_away_msg(char *name)
+{
+	char buf[MSG_LEN];
+#ifndef USE_OSCAR
+	/* HAHA! TOC doesn't have this yet */
+#else
+	aim_getinfo(gaim_sess, gaim_conn, name, AIM_GETINFO_AWAYMESSAGE);
 #endif
 }