Generalize #275 to groupchats