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

39 lines
1.2 KiB
Diff
Raw Normal View History

2024-07-14 09:12:43 +00:00
From 796abe4146b83b50633e3881cdfa0ddfa2f83202 Mon Sep 17 00:00:00 2001
2024-01-24 12:20:14 +00:00
From: chris <cg@zknt.org>
2024-07-14 09:12:43 +00:00
Date: Sun, 14 Jul 2024 11:08:37 +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-07-01 10:08:22 +00:00
index b3047ff7..824e0308 100644
2023-10-08 13:00:18 +00:00
--- a/app/Http/Controllers/DiscoverController.php
+++ b/app/Http/Controllers/DiscoverController.php
2024-07-01 10:08:22 +00:00
@@ -292,16 +292,16 @@ class DiscoverController extends Controller
2024-03-12 16:11:50 +00:00
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-07-01 10:08:22 +00:00
2.45.2
2023-10-08 13:00:18 +00:00