From 4951190c938740defa0988d98d5e861038622936 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Wed, 27 Jan 2021 21:57:11 +0100
Subject: [PATCH] Bump version to 0.4.1

---
 CMakeLists.txt                     | 4 ++--
 appveyor.yml                       | 2 +-
 include/mtxclient/http/session.hpp | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c8e01f1df..05310501f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,12 +32,12 @@ option(USE_BUNDLED_OPENSSL "Use the bundled version of OpenSSL."
 
 if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
 project(matrix_client
-	VERSION 0.4.0
+	VERSION 0.4.1
 	DESCRIPTION "Client API library for Matrix, built on top of Boost.Asio"
 	HOMEPAGE_URL https://github.com/Nheko-Reborn/mtxclient)
 else()
 project(matrix_client
-	VERSION 0.4.0
+	VERSION 0.4.1
 	DESCRIPTION "Client API library for Matrix, built on top of Boost.Asio")
 endif()
 
diff --git a/appveyor.yml b/appveyor.yml
index ef7f9e11c..a896d2393 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,6 +1,6 @@
 ---
 
-version: 0.4.0-{build}
+version: 0.4.1-{build}
 
 configuration: Release
 image: Visual Studio 2017
diff --git a/include/mtxclient/http/session.hpp b/include/mtxclient/http/session.hpp
index 6b54990e9..3ae18aa6e 100644
--- a/include/mtxclient/http/session.hpp
+++ b/include/mtxclient/http/session.hpp
@@ -93,7 +93,7 @@ setup_headers(mtx::http::Session *session,
               const std::string &content_type       = "",
               const std::string &endpoint_namespace = "/_matrix")
 {
-        session->request.set(boost::beast::http::field::user_agent, "mtxclient v0.4.0");
+        session->request.set(boost::beast::http::field::user_agent, "mtxclient v0.4.1");
         session->request.set(boost::beast::http::field::accept_encoding, "gzip,deflate");
         session->request.set(boost::beast::http::field::host, session->host);
 
-- 
GitLab