Mercurial > pidgin
diff src/server.c @ 243:3414ff74cb0f
[gaim-migrate @ 253]
Sat May 20 09:56:16 UTC 2000 EWarmenhoven
- That 2 second delay in updates is gone, and I think it's actually
faster than the TOC code now.
- I figured out why it was segfaulting. I'm stupid sometimes.
- I figured out why the idle times were appearing bizarrely. Once
again, I'm stupid sometimes.
- You can now be idle
- You can now get a user's info (sort of - use the debug window) (still
no away messages though....)
- You can now be away
- You can now set your info (but not your dir info - yet)
- I think it's almost at a point where it's ready for use.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sat, 20 May 2000 10:03:16 +0000 |
| parents | 14fc16f579c8 |
| children | f6e8ea29b24f |
line wrap: on
line diff
--- a/src/server.c Sat May 20 07:58:50 2000 +0000 +++ b/src/server.c Sat May 20 10:03:16 2000 +0000 @@ -171,6 +171,8 @@ #ifndef USE_OSCAR 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); #endif } @@ -206,6 +208,9 @@ sprintf(debug_buff,"Searching for: %s,%s,%s,%s,%s,%s,%s\n", first, middle, last, maiden, city, state, country); debug_print(debug_buff); sflap_send(buf, -1, TYPE_DATA); +#else + if (strlen(email)) + aim_usersearch_address(gaim_sess, gaim_conn, email); #endif } @@ -219,6 +224,9 @@ else g_snprintf(buf, MSG_LEN, "toc_set_away \"\""); sflap_send(buf, -1, TYPE_DATA); +#else + aim_bos_setprofile(gaim_sess, gaim_conn, current_user->user_info, + message, AIM_CAPS_CHAT); #endif } @@ -228,6 +236,13 @@ #ifndef USE_OSCAR g_snprintf(buf, sizeof(buf), "toc_set_info \"%s\n\"", info); sflap_send(buf, -1, TYPE_DATA); +#else + if (awaymessage) + aim_bos_setprofile(gaim_sess, gaim_conn, info, + awaymessage->message, AIM_CAPS_CHAT); + else + aim_bos_setprofile(gaim_sess, gaim_conn, info, + NULL, AIM_CAPS_CHAT); #endif } @@ -355,6 +370,8 @@ #ifndef USE_OSCAR g_snprintf(buf, sizeof(buf), "toc_set_idle %d", time); sflap_send(buf, -1, TYPE_DATA); +#else + aim_bos_setidle(gaim_sess, gaim_conn, time); #endif }
