The yāʾ in jalsatayni marks the accusative.

The Accusatives: Al-Mafʿūl al-Muṭlaq