diff --git a/CMakeLists.txt b/CMakeLists.txt index 486f248b86a66f25549655bb723f234f3bd03fea..26665c50f4e050d2f9c82cfc7f686f0c4ea6f344 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 5b27935c37693dc1c35714ad9108920836ead498..c421b83d653dfacd74de67fd12d59cf16f95bc42 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 1698833eb2f7b5ddfbdfc5406ae729852f1ecb39..b5175b10a35cc28f6bbf77e1dead987302422644 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);