Merge pull request #1729 from jagerman/fix-omq-deprecation

Stop using deprecated OMQ connect_remote overload
pull/1731/head
Jeff 3 years ago committed by GitHub
commit cd99e5c4f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -22,7 +22,7 @@ namespace llarp::rpc
if (m_AuthURL.empty() or m_AuthMethod.empty())
return;
m_LMQ->connect_remote(
m_AuthURL,
oxenmq::address{m_AuthURL},
[self = shared_from_this()](oxenmq::ConnectionID c) {
self->m_Conn = std::move(c);
LogInfo("connected to endpoint auth server via ", *self->m_Conn);

Loading…
Cancel
Save