<p></p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/grekko/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/grekko">@grekko</a> Does this already handle the API part? We have this part here <a href="https://wiki.openstreetmap.org/wiki/API_v0.6#Details_of_the_logged-in_user:_GET_/api/0.6/user/details" rel="nofollow">https://wiki.openstreetmap.org/wiki/API_v0.6#Details_of_the_logged-in_user:_GET_/api/0.6/user/details</a></p>
<p dir="auto">I think, the easiest would be to change the queries for <code class="notranslate"><received count="1" unread="0"/></code> to only include messages by unmuted users. However, I wonder if we should also add the full count just to give the API access to all the parts that the UI has as well. Something like <code class="notranslate"><received count="1" unread="0"/><received_mute count="1" unread="0"/></code></p>
<p dir="auto">I would both not consider this a breaking change of the API. Changing the way the data is caculated is in line with how the new UI behaves. And adding something does not break (a well build api consumer).</p>
<p dir="auto">(Disclaimer: I only did a quick scan of the files-list to check if this was solved already, sorry if it was…)</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/4284#issuecomment-1782867932">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOHHP5BMULJYKESMDDYBOVGRAVCNFSM6AAAAAA53SDOR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBSHA3DOOJTGI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIUPMLHVWGMHBUBENDYBOVGRA5CNFSM6AAAAAA53SDOR2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTKIRT5Y.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/4284/c1782867932</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/4284#issuecomment-1782867932",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4284#issuecomment-1782867932",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>