Merge pull request #1635 from majestrate/session-tx-rx-fixup-2021-05-07

only mark existing sessions as active
pull/1636/head
Jeff 3 years ago committed by GitHub
commit 0bc8d9f477
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -520,13 +520,15 @@ namespace llarp
void
Endpoint::ConvoTagTX(const ConvoTag& tag)
{
Sessions()[tag].TX();
if (Sessions().count(tag))
Sessions()[tag].TX();
}
void
Endpoint::ConvoTagRX(const ConvoTag& tag)
{
Sessions()[tag].RX();
if (Sessions().count(tag))
Sessions()[tag].RX();
}
bool

Loading…
Cancel
Save