<p></p>
<p dir="auto">After your change the test is:</p>
<div class="highlight highlight-source-ruby" dir="auto"><pre class="notranslate"><span class="pl-s1">opened_by_user</span> <span class="pl-c1">=</span> <span class="pl-en">note</span><span class="pl-kos">.</span><span class="pl-en">comments</span><span class="pl-kos">.</span><span class="pl-en">any?</span> <span class="pl-kos">{</span> |<span class="pl-s1">comment</span>| <span class="pl-s1">comment</span><span class="pl-kos">.</span><span class="pl-en">author</span> == <span class="pl-c1">@user</span> && <span class="pl-s1">comment</span><span class="pl-kos">.</span><span class="pl-en">event</span> == <span class="pl-s">"opened"</span> <span class="pl-kos">}</span></pre></div>
<p dir="auto">which will be true if the user has ever opened it, either the original open or a reopen?</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5269#issuecomment-2422575702">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNK7LNH2KAHN2QTPIDZ4EJPNAVCNFSM6AAAAABQDTUCRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRSGU3TKNZQGI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLLXO4NE4BCSKV2YKULZ4EJPNA5CNFSM6AAAAABQDTUCRCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUQMWJFM.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5269/c2422575702</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5269#issuecomment-2422575702",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5269#issuecomment-2422575702",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>