aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/http/request_builder.ex2
1 files changed, 1 insertions, 1 deletions
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