Fixed chat switching bug.

Signed-off-by: Chase Pettit <chasepettit@gmail.com>