summaryrefslogtreecommitdiff
path: root/internal/processing
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-07-20 15:02:22 +0200
committerLibravatar GitHub <noreply@github.com>2024-07-20 14:02:22 +0100
commitad700c5029688ffabae568c23bedd7bb333f7f33 (patch)
tree189e5657eb53722df004cd94727b0518bd9b4ef2 /internal/processing
parent[feature] use webp for thumbnails (#3116) (diff)
downloadgotosocial-ad700c5029688ffabae568c23bedd7bb333f7f33.tar.xz
[chore/frontend] Use smaller webp images for logo and default avatars (#3119)
Diffstat (limited to 'internal/processing')
-rw-r--r--internal/processing/stream/notification_test.go4
-rw-r--r--internal/processing/stream/statusupdate_test.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/internal/processing/stream/notification_test.go b/internal/processing/stream/notification_test.go
index e12f23abe..2e83714fa 100644
--- a/internal/processing/stream/notification_test.go
+++ b/internal/processing/stream/notification_test.go
@@ -74,8 +74,8 @@ func (suite *NotificationTestSuite) TestStreamNotification() {
"url": "http://fossbros-anonymous.io/@foss_satan",
"avatar": "",
"avatar_static": "",
- "header": "http://localhost:8080/assets/default_header.png",
- "header_static": "http://localhost:8080/assets/default_header.png",
+ "header": "http://localhost:8080/assets/default_header.webp",
+ "header_static": "http://localhost:8080/assets/default_header.webp",
"followers_count": 0,
"following_count": 0,
"statuses_count": 3,
diff --git a/internal/processing/stream/statusupdate_test.go b/internal/processing/stream/statusupdate_test.go
index da32be48b..2ae3f217b 100644
--- a/internal/processing/stream/statusupdate_test.go
+++ b/internal/processing/stream/statusupdate_test.go
@@ -85,8 +85,8 @@ func (suite *StatusUpdateTestSuite) TestStreamNotification() {
"url": "http://fossbros-anonymous.io/@foss_satan",
"avatar": "",
"avatar_static": "",
- "header": "http://localhost:8080/assets/default_header.png",
- "header_static": "http://localhost:8080/assets/default_header.png",
+ "header": "http://localhost:8080/assets/default_header.webp",
+ "header_static": "http://localhost:8080/assets/default_header.webp",
"followers_count": 0,
"following_count": 0,
"statuses_count": 3,