Changeset de03334 for aim.c


Ignore:
Timestamp:
Jul 3, 2003, 9:31:03 PM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
5b85d19
Parents:
210c261
Message:
Idletimes now appear in the buddylist
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aim.c

    r6a87084 rde03334  
    157157  }
    158158  owl_global_set_aimloggedin(&g, screenname);
     159
     160  owl_buddylist_request_idletimes(owl_global_get_buddylist(&g));
    159161  return(0);
    160162}
     
    220222
    221223}
     224
     225void owl_aim_get_idle(char *screenname)
     226{
     227  aim_getinfo(owl_global_get_aimsess(&g),
     228              aim_getconn_type(owl_global_get_aimsess(&g), AIM_CONN_TYPE_BOS),
     229              screenname,
     230              AIM_GETINFO_GENERALINFO);
     231}
     232
    222233
    223234void owl_aim_chat_join(char *chatroom)
     
    977988  va_end(ap);
    978989
    979   return (1);
     990  /* right now the only reason we call this is for idle times */
     991  owl_buddylist_set_idletime(owl_global_get_buddylist(&g), userinfo->sn, userinfo->idletime);
     992  return(1);
    980993
    981994  printf("userinfo: sn: %s\n", userinfo->sn);
Note: See TracChangeset for help on using the changeset viewer.