Fixed chat swapping bug.

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