From ea7584703c87115ae79f13d74ccd1aa0524634df Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 2 May 2022 13:20:49 +0100 Subject: [PATCH] Don't send clickable links on LBTC --- handler/transactions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/handler/transactions.py b/handler/transactions.py index 00872f2..bf90605 100644 --- a/handler/transactions.py +++ b/handler/transactions.py @@ -523,7 +523,10 @@ class Transactions(util.Base): def send_verification_url(self, platform, uid, trade_id): send_setting, post_message = self.get_send_settings(platform) if send_setting == "1": + print("SEND SETTING IS 1", platform, uid, trade_id) auth_url = self.ux.verify.create_applicant_and_get_link(uid) + if platform == "lbtc": + auth_url = auth_url.replace("https://", "") # hack post_message( trade_id, f"Hi! To continue the trade, please complete the verification form: {auth_url}",