“…To achieve this, we propose an extension of the model developed in Ref. [24] that allows the inclusion of two communities with different features within the same social network. Because random meetings were shown to be much more pivotal to resilience than social meetings and meeting break-ups, we adapt only the algorithm for random meetings, while keeping social meetings and meeting break-ups as they were in the original model (see the model reminder below).…”