[Git][gajim/gajim][master] Helpers: Refactor is_affiliation_change_allowed()