diff options
author | 2024-11-21 10:06:06 +0000 | |
---|---|---|
committer | 2024-11-21 11:06:06 +0100 | |
commit | 9ace025da1c51bf6b2f21ebc5d7dce2f7171906b (patch) | |
tree | e6ade361fa3e59ed020c70e33833198fa124bae3 /internal/typeutils/internaltofrontend_test.go | |
parent | [docs] Include link to a live instance in README (#3549) (diff) | |
download | gotosocial-9ace025da1c51bf6b2f21ebc5d7dce2f7171906b.tar.xz |
[bugfix] post counters should not include direct messages (#3554)
* [bugfix] post counters should not include direct messages #3504
The fix is relativly simple, it just adds a line to the relevant
function which excludes all private posts.
* Formating fix
* mb
Diffstat (limited to 'internal/typeutils/internaltofrontend_test.go')
-rw-r--r-- | internal/typeutils/internaltofrontend_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/typeutils/internaltofrontend_test.go b/internal/typeutils/internaltofrontend_test.go index b9cadb183..db37d3abd 100644 --- a/internal/typeutils/internaltofrontend_test.go +++ b/internal/typeutils/internaltofrontend_test.go @@ -1993,7 +1993,7 @@ func (suite *InternalToFrontendTestSuite) TestInstanceV1ToFrontend() { }, "stats": { "domain_count": 2, - "status_count": 20, + "status_count": 19, "user_count": 4 }, "thumbnail": "http://localhost:8080/assets/logo.webp", |