Changeset 75610c3
- Timestamp:
- 2010-05-09T00:40:54Z (14 years ago)
- Branches:
- master
- Children:
- bd5eee3
- Parents:
- 36577aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/oscar/oscar.c
r36577aa r75610c3 799 799 chatcon = find_oscar_chat_by_conn(ic, fr->conn); 800 800 chatcon->id = id; 801 chatcon->cnv = imcb_chat_new(ic, chatcon->show); 801 chatcon->cnv = bee_chat_by_title(ic->bee, ic, chatcon->show); 802 if (chatcon->cnv == NULL) 803 chatcon->cnv = imcb_chat_new(ic, chatcon->show); 802 804 chatcon->cnv->data = chatcon; 803 805 … … 2651 2653 static int chat_id = 0; 2652 2654 char * chatname; 2653 2654 chatname = g_strdup_printf("%s%d", ic->acc->user, chat_id++); 2655 2655 struct groupchat *c; 2656 2657 chatname = g_strdup_printf("%s%s_%d", isdigit(*ic->acc->user) ? "icq_" : "", 2658 ic->acc->user, chat_id++); 2659 2660 c = imcb_chat_new(ic, chatname); 2661 2656 2662 ret = oscar_chat_join(ic, chatname, NULL, NULL); 2657 2663
Note: See TracChangeset
for help on using the changeset viewer.