Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nogaim: Match case in imc_away_state_find()
Match the provided away-state case when searching for an alias, better matching expectations. For example, bitlbee-discord provides this: m = g_list_prepend(m, "invisible"); m = g_list_prepend(m, "dnd"); m = g_list_prepend(m, "online"); m = g_list_prepend(m, "idle"); /away DND - some reason ...gives "dnd", which matches what was given to Bitlbee. /away Busy - some reason ...gives "DND", which does NOT match what was given to Bitlbee. The capitalization is derived from using Bitlbee's built-in alias list. Technically this is a breaking behavior change to Bitlbee's plugin API, even if this behavior may make more sense. See sm00th/bitlbee-discord#230 (comment)
- Loading branch information