Changeset fd93b41 for aim.c


Ignore:
Timestamp:
Jun 3, 2003, 5:38:08 PM (18 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:
38cf544c
Parents:
aa5f725
Message:
Started work on 'addbuddy' and 'delbuddy' command but they DO NOT
  WORK yet
Removed a bit of faim code that allowed commands to be executed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aim.c

    raa5f725 rfd93b41  
    175175}
    176176
     177void owl_aim_addbuddy(char *screenname)
     178{
     179  aim_add_buddy(owl_global_get_aimsess(&g), owl_global_get_waitingconn(&g), screenname);
     180}
     181
     182void owl_aim_delbuddy(char *screenname)
     183{
     184  aim_remove_buddy(owl_global_get_aimsess(&g), NULL, screenname);
     185}
     186
    177187void owl_aim_chat_join(char *chatroom)
    178188{
     
    497507{
    498508  aim_session_kill(sess);
    499 
     509  owl_aim_init();
     510 
    500511  /* kretch
    501512  if (faimtest_init() == -1)
     
    12691280  owl_global_messagequeue_addmsg(&g, m);
    12701281  owl_free(stripmsg);
     1282
     1283  return(1);
    12711284 
    12721285  /* printf("icbm: message: %s\n", realmsg); */
     
    12911304    /* printf("icbm: their icon: iconstamp = %ld, iconlen = 0x%08lx, iconsum = 0x%04x\n", args->iconstamp, args->iconlen, args->iconsum); */
    12921305  }
    1293  
     1306
     1307  /*
    12941308  if (realmsg) {
    12951309    int i = 0;
     
    13041318    faimtest_handlecmd(sess, conn, userinfo, tmpstr);
    13051319  }
     1320  */
    13061321 
    13071322  if (priv->buddyicon && (args->icbmflags & AIM_IMFLAGS_BUDDYREQ)) {
     
    13441359    /* Automatically join room... */
    13451360    /* printf("chat invitiation: autojoining %s...\n", args->info.chat.roominfo.name); */
    1346     aim_chat_join(sess, conn, args->info.chat.roominfo.exchange, args->info.chat.roominfo.name, args->info.chat.roominfo.instance);
     1361
     1362    /* aim_chat_join(sess, conn, args->info.chat.roominfo.exchange, args->info.chat.roominfo.name, args->info.chat.roominfo.instance); */
    13471363  } else if (args->reqclass == AIM_CAPS_IMIMAGE) {
    13481364    directim_requested(sess, conn, userinfo, args);
Note: See TracChangeset for help on using the changeset viewer.