- properly set isLocal flag on reactions