Fix client crash with cannot send chat message