From 909af700c8969d4903e9cd515511d7e6d608bdbd Mon Sep 17 00:00:00 2001 From: Kopper Date: Sun, 1 Sep 2024 01:41:11 +0300 Subject: [PATCH] [backend/akko-client] Instruct Akkoma-FE to use the streaming API --- .../Pleroma/Schemas/FrontendConfigurationsResponse.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Iceshrimp.Backend/Controllers/Pleroma/Schemas/FrontendConfigurationsResponse.cs b/Iceshrimp.Backend/Controllers/Pleroma/Schemas/FrontendConfigurationsResponse.cs index 0135c18d..e85bec1f 100644 --- a/Iceshrimp.Backend/Controllers/Pleroma/Schemas/FrontendConfigurationsResponse.cs +++ b/Iceshrimp.Backend/Controllers/Pleroma/Schemas/FrontendConfigurationsResponse.cs @@ -8,9 +8,8 @@ public class FrontendConfigurationsResponse() } -// TODO: STUB public class PleromaFeConfiguration() { - // Use Oauth - [J("loginMethod")] public string loginMethod => "token"; + [J("loginMethod")] public string LoginMethod => "token"; + [J("useStreamingApi")] public bool UseStreamingApi => true; }