From e697c12c8b5db64c7c621ef4e398ba900def9ab5 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Sat, 13 Jun 2020 02:34:30 +0200
Subject: [PATCH] Release 0.3.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 486f248b8..26665c50f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,12 +35,12 @@ option(USE_BUNDLED_SODIUM "Use the bundled version of libsodium."
 
 if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
 project(matrix_client
-	VERSION 0.3.0
+	VERSION 0.3.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.3.0
+	VERSION 0.3.1
 	DESCRIPTION "Client API library for Matrix, built on top of Boost.Asio")
 endif()
 
diff --git a/appveyor.yml b/appveyor.yml
index 5b27935c3..c421b83d6 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,6 +1,6 @@
 ---
 
-version: 0.3.0-{build}
+version: 0.3.1-{build}
 
 configuration: Release
 image: Visual Studio 2017
diff --git a/include/mtxclient/http/session.hpp b/include/mtxclient/http/session.hpp
index 1698833eb..b5175b10a 100644
--- a/include/mtxclient/http/session.hpp
+++ b/include/mtxclient/http/session.hpp
@@ -86,7 +86,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.3.0");
+        session->request.set(boost::beast::http::field::user_agent, "mtxclient v0.3.1");
         session->request.set(boost::beast::http::field::accept_encoding, "gzip,deflate");
         session->request.set(boost::beast::http::field::host, session->host);
 
-- 
GitLab