Accept team invitation does not publish activity

Fixes #477