Fix chat perm registration