{# The visible part of a presence notice; also the heartbeat's answer. #} {% set editing = others | selectattr("mode", "equalto", "editing") | list %} {% set viewing = others | selectattr("mode", "equalto", "viewing") | list %} {% if editing %}