diff options
author | Gary Kramlich <grim@reaperworld.com> | 2022-10-14 01:06:41 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2022-10-14 01:06:41 -0500 |
commit | 69527bbed6d057c788bfaadc8628c4339dae694f (patch) | |
tree | ebacae3c81bfe50aff62eb30f3b43c58feca5157 /libpurple/buddylist.c | |
parent | 1b3b88515283580c37d2bafd4ed68916b7282c5c (diff) | |
download | pidgin-69527bbed6d057c788bfaadc8628c4339dae694f.tar.gz |
Fix the namespace of the PurpleConnectionState enum constants
Testing Done:
Connected an XMPP account everything looked fine.
Reviewed at https://reviews.imfreedom.org/r/1936/
Diffstat (limited to 'libpurple/buddylist.c')
-rw-r--r-- | libpurple/buddylist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpurple/buddylist.c b/libpurple/buddylist.c index 3f1db4a790..1a1b89ba82 100644 --- a/libpurple/buddylist.c +++ b/libpurple/buddylist.c @@ -1627,8 +1627,9 @@ void purple_blist_remove_group(PurpleGroup *group) { PurpleConnection *gc = (PurpleConnection *)l->data; - if (purple_connection_get_state(gc) == PURPLE_CONNECTION_CONNECTED) + if(purple_connection_get_state(gc) == PURPLE_CONNECTION_STATE_CONNECTED) { purple_account_remove_group(purple_connection_get_account(gc), group); + } } /* Delete the node */ |