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

Stop using deprecated OMQ connect_remote overload
This commit is contained in:
Jeff 2021-09-01 16:19:35 -04:00 committed by GitHub
commit cd99e5c4f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);