# HG changeset patch # User Ka-Hing Cheung # Date 1256540015 0 # Node ID 9e8d0537d37d809c83e8f1429020ed22908fa24e # Parent a5b8f6f2b11299baf319c997c6d576ed6cded081 I don't think the comment made sense, this is probably what it meant to be. It's only checking status type but not the status message, so it can match the "wrong" status if you have substatuses of different messages. I am not sure if that's a feature or bug though. Seems like a bug to me because it prevents you from setting certain messages if you already have similar transient status. Oh, and why does this matching only work on transient statuses anyway. diff -r a5b8f6f2b112 -r 9e8d0537d37d pidgin/gtkstatusbox.c --- a/pidgin/gtkstatusbox.c Mon Oct 26 01:11:53 2009 +0000 +++ b/pidgin/gtkstatusbox.c Mon Oct 26 06:53:35 2009 +0000 @@ -2435,7 +2435,7 @@ purple_strequal(ss_msg, message)) { gboolean found = FALSE; - /* The currently enabled accounts must have substatuses for all the active accts */ + /* this status must have substatuses for all the active accts */ for(tmp = active_accts; tmp != NULL; tmp = tmp->next) { PurpleAccount *acct = tmp->data; PurpleSavedStatusSub *sub = purple_savedstatus_get_substatus(ss, acct);