From: Michael Tremer Date: Tue, 17 Mar 2015 13:14:35 +0000 (+0100) Subject: talk: Show the padlock for sips:// URLs as well X-Git-Url: http://git.ipfire.org/?p=people%2Fshoehn%2Fipfire.org.git;a=commitdiff_plain;h=f4add822b47872169bb706f6121f9466873028fc talk: Show the padlock for sips:// URLs as well --- diff --git a/webapp/backend/talk.py b/webapp/backend/talk.py index b1c58bb..70a4172 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/"):