aboutsummaryrefslogtreecommitdiffstats
path: root/tests/check_nick.c
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-11-23 14:49:09 -0300
committerdequis <dx@dxzone.com.ar>2015-11-23 14:49:09 -0300
commit9c8dbc75d416c8867be20ccf3732303163e620ce (patch)
treea714f5af6ca4a17db97981036c0f79ae5ffda7fd /tests/check_nick.c
parentc34247d0b3111f16dae1a52d831df0d61c03ee35 (diff)
hipchat: 'chat add hipchat "channel name"' now tries to guess the JID
It's basically prepending the organization id, appending the default MUC host from the success packet, and generating a slug based on the name for the middle part, which is replacing a few characters with underscores and doing a unicode aware lowercasing. Includes tests, which are useless other than validating the initial implementation with the test vectors that i already tested manually. Guaranteed to detect zero breakages in the future. Good test code.
Diffstat (limited to 'tests/check_nick.c')
0 files changed, 0 insertions, 0 deletions