Don't send clickable links on LBTC

This commit is contained in:
Mark Veidemanis 2022-05-02 13:20:49 +01:00
parent 36a73e9f41
commit ea7584703c
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 3 additions and 0 deletions

View File

@ -523,7 +523,10 @@ class Transactions(util.Base):
def send_verification_url(self, platform, uid, trade_id): def send_verification_url(self, platform, uid, trade_id):
send_setting, post_message = self.get_send_settings(platform) send_setting, post_message = self.get_send_settings(platform)
if send_setting == "1": if send_setting == "1":
print("SEND SETTING IS 1", platform, uid, trade_id)
auth_url = self.ux.verify.create_applicant_and_get_link(uid) auth_url = self.ux.verify.create_applicant_and_get_link(uid)
if platform == "lbtc":
auth_url = auth_url.replace("https://", "") # hack
post_message( post_message(
trade_id, trade_id,
f"Hi! To continue the trade, please complete the verification form: {auth_url}", f"Hi! To continue the trade, please complete the verification form: {auth_url}",