We rejoin after registration to make sure that the user is identified and has
all their user modes set and whatever. We don't actually have a way to do this
right now, but plugins can tie into the signal for that.
Testing Done:
Joined some channels on my local ergo, disconnected the account in the account manager, re-enabled it, and verified via another client that I rejoined those channels.
Reviewed at https://reviews.imfreedom.org/r/2829/
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Translators:
# Copyright (C) Artur Flinta <aflinta@at.kernel.pl>, 2004
# Copyright (C) Krzysztof Foltman <kfoltman@onet.pl>, 2003
# Copyright (C) Paweł Godlewski <pawel@endure.pl>, 2007
# Piotr Drąg <piotrdrag@gmail.com>, 2009
# Copyright (C) Piotr Makowski <pmakowski@aviary.pl>, 2008