From: Harvie Date: Thu, 30 Sep 2010 08:17:38 +0000 (+0200) Subject: Added FIXME: should return something meaningful when buddy does not belong to any... X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=f3676c6534cf1ebf3c8efb0f9e821c25726eaa64;p=mirrors%2Flibpurple-core-answerscripts.git Added FIXME: should return something meaningful when buddy does not belong to any group... --- diff --git a/answerscripts.c b/answerscripts.c index d562e51..a85717e 100755 --- a/answerscripts.c +++ b/answerscripts.c @@ -84,7 +84,7 @@ static void received_im_msg_cb(PurpleAccount *account, char *who, char *buffer, */ //Get buddy group - const char *from_group = purple_group_get_name(purple_buddy_get_group(buddy)); + const char *from_group = purple_group_get_name(purple_buddy_get_group(buddy)); //FIXME: returns "\x18" when user does not belong to some group //Get protocol ID const char *protocol_id = purple_account_get_protocol_id(account);