Changeset a3019499 for protocols/purple
- Timestamp:
- 2015-11-26T02:14:34Z (9 years ago)
- Branches:
- master
- Children:
- 1ec454c
- Parents:
- 42a418e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/purple/purple.c
r42a418e ra3019499 718 718 serv_join_chat(purple_account_get_connection(pd->account), chat_hash); 719 719 720 return NULL;720 return imcb_chat_new(ic, room); 721 721 } 722 722 … … 902 902 struct groupchat *gc; 903 903 904 gc = imcb_chat_new(ic, conv->name); 905 if (conv->title != NULL) { 906 imcb_chat_name_hint(gc, conv->title); 904 gc = bee_chat_by_title(ic->bee, ic, conv->name); 905 906 if (!gc) { 907 gc = imcb_chat_new(ic, conv->name); 908 if (conv->title != NULL) { 909 imcb_chat_name_hint(gc, conv->title); 910 } 911 } 912 913 /* don't set the topic if it's just the name */ 914 if (conv->title != NULL && strcmp(conv->name, conv->title) != 0) { 907 915 imcb_chat_topic(gc, NULL, conv->title, 0); 908 916 }
Note: See TracChangeset
for help on using the changeset viewer.