pixelfed/patches/0002-hardcode-discovery-settings.patch

39 lines
1.2 KiB
Diff
Raw Normal View History

2024-05-26 11:45:38 +00:00
From bbedc315c31eab590f7a680e5f68277cfc540e9d Mon Sep 17 00:00:00 2001
2024-01-24 12:20:14 +00:00
From: chris <cg@zknt.org>
2024-05-26 11:45:38 +00:00
Date: Sun, 26 May 2024 13:42:23 +0200
2023-10-08 13:00:18 +00:00
Subject: [PATCH 2/6] hardcode discovery settings
force enable discovery (as dynamic settings are not saved properly)
---
app/Http/Controllers/DiscoverController.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/Http/Controllers/DiscoverController.php b/app/Http/Controllers/DiscoverController.php
2024-03-12 16:11:50 +00:00
index c9e93eec..ffeb34b4 100644
2023-10-08 13:00:18 +00:00
--- a/app/Http/Controllers/DiscoverController.php
+++ b/app/Http/Controllers/DiscoverController.php
2024-03-12 16:11:50 +00:00
@@ -291,16 +291,16 @@ class DiscoverController extends Controller
return [
'hashtags' => [
- 'enabled' => false,
+ 'enabled' => true,
],
'memories' => [
- 'enabled' => false,
+ 'enabled' => true,
],
'insights' => [
- 'enabled' => false,
+ 'enabled' => true,
],
'friends' => [
- 'enabled' => false,
+ 'enabled' => true,
],
'server' => [
'enabled' => false,
2023-10-08 13:00:18 +00:00
--
2024-05-26 11:45:38 +00:00
2.45.0
2023-10-08 13:00:18 +00:00