libpurple/conversation.c

branch
soc.2013.gobjectification.plugins
changeset 36607
7ad7681dcfd8
parent 36544
1bf8b6ef5aea
child 36621
3edd164b6a1a
--- a/libpurple/conversation.c	Thu Aug 29 23:38:19 2013 +0530
+++ b/libpurple/conversation.c	Thu Aug 29 23:52:03 2013 +0530
@@ -531,7 +531,7 @@
 		protocol = purple_find_protocol_info(purple_account_get_protocol_id(account));
 
 		if (PURPLE_IS_IM_CONVERSATION(conv) ||
-			!(protocol->options & OPT_PROTO_UNIQUE_CHATNAME)) {
+			!(purple_protocol_get_options(protocol) & OPT_PROTO_UNIQUE_CHATNAME)) {
 
 			if (flags & PURPLE_MESSAGE_SEND) {
 				b = purple_blist_find_buddy(account,

mercurial