* riece-misc.el (riece-get-channels-on-server): New function.