Added automatic joining of channels. Auto-rejoin functionality for groupchats not reimplemented yet but that's the next step.