Debug showing destination domain

main
Bob Mottram 2022-03-14 11:22:28 +00:00
parent f9812ce1ed
commit e3363964d0
1 changed files with 6 additions and 5 deletions

View File

@ -3102,11 +3102,6 @@ def _send_to_named_addresses(session, session_onion, session_i2p,
print('Not sending profile update to self. ' +
nickname + '@' + domain_full)
continue
if debug:
domain_full = get_full_domain(domain, port)
to_domain_full = get_full_domain(to_domain, to_port)
print('DEBUG: Post sending s2s: ' + nickname + '@' + domain_full +
' to ' + to_nickname + '@' + to_domain_full)
# if we have an alt onion domain and we are sending to
# another onion domain then switch the clearnet
@ -3138,6 +3133,12 @@ def _send_to_named_addresses(session, session_onion, session_i2p,
curr_proxy_type = 'i2p'
cc_list = []
if debug:
to_domain_full = get_full_domain(to_domain, to_port)
print('DEBUG: Post sending s2s: ' +
nickname + '@' + from_domain_full +
' to ' + to_nickname + '@' + to_domain_full)
# if the "to" domain is within the shared items
# federation list then send the token for this domain
# so that it can request a catalog