From: Alexander Strizhakov Date: Tue, 3 Mar 2020 09:46:53 +0000 (+0000) Subject: Apply suggestion to lib/pleroma/http/request_builder.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=d30ff35d94ff7d8bc07f0221323a75b07641ee8d;p=akkoma Apply suggestion to lib/pleroma/http/request_builder.ex --- diff --git a/lib/pleroma/http/request_builder.ex b/lib/pleroma/http/request_builder.ex index 491acd0f9..046741d99 100644 --- a/lib/pleroma/http/request_builder.ex +++ b/lib/pleroma/http/request_builder.ex @@ -35,7 +35,7 @@ defmodule Pleroma.HTTP.RequestBuilder do def headers(request, headers) do headers_list = if Pleroma.Config.get([:http, :send_user_agent]) do - headers ++ [{"user-agent", Pleroma.Application.user_agent()}] + [{"user-agent", Pleroma.Application.user_agent()} | headers] else headers end