From f4add822b47872169bb706f6121f9466873028fc Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 17 Mar 2015 14:14:35 +0100 Subject: [PATCH] talk: Show the padlock for sips:// URLs as well --- webapp/backend/talk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/backend/talk.py b/webapp/backend/talk.py index b1c58bbd..70a41724 100644 --- a/webapp/backend/talk.py +++ b/webapp/backend/talk.py @@ -55,7 +55,8 @@ class Talk(Object): result = [] for row in res: # Check if TLS is used - row.tls_enabled = "transport=TLS" in row.location + row.tls_enabled = row.location.startswith("sip/sips:") or \ + "transport=TLS" in row.location # Strip a leading sip/ if row.location.startswith("sip/"): -- 2.47.3