Use coeurl for networking
Something is still wrong on shutdown, need to debug that. And CI will fail.
This commit is contained in:
parent
78c69a8f7b
commit
00f251753e
6 changed files with 97 additions and 67 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue