Use coeurl for networking

Something is still wrong on shutdown, need to debug that.
And CI will fail.
This commit is contained in:
Nicolas Werner 2021-06-30 02:43:36 +02:00
parent 78c69a8f7b
commit 00f251753e
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
6 changed files with 97 additions and 67 deletions

View file

@ -181,7 +181,7 @@ RoomSettings::RoomSettings(QString roomid, QObject *parent)
roomid_.toStdString(),
[this](const mtx::pushrules::PushRule &rule, mtx::http::RequestErr &err) {
if (err) {
if (err->status_code == boost::beast::http::status::not_found)
if (err->status_code == 404)
http::client()->get_pushrules(
"global",
"room",