Changeset 7989d40d for protocols/oscar


Ignore:
Timestamp:
2010-07-24T14:19:44Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
40e6dac
Parents:
03f3828
Message:

Fixing chat_join() for OSCAR to return a struct groupchat* right away,
without this we end up creating a #chat_000.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/oscar.c

    r03f3828 r7989d40d  
    25102510{
    25112511        struct oscar_data * od = (struct oscar_data *)ic->proto_data;
     2512        struct groupchat *ret = imcb_chat_new(ic, room);
    25122513        aim_conn_t * cur;
    25132514
     
    25172518                st = aim_chatnav_createroom(od->sess, cur, room, exchange_number);
    25182519               
    2519                 return NULL;
     2520                return ret;
    25202521        } else {
    25212522                struct create_room * cr = g_new0(struct create_room, 1);
     
    25262527                aim_reqservice(od->sess, od->conn, AIM_CONN_TYPE_CHATNAV);
    25272528               
    2528                 return NULL;
     2529                return ret;
    25292530        }
    25302531}
Note: See TracChangeset for help on using the changeset viewer.