From 06c1d39c3ed45c28931a6a48e53f4fe67f726cce Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 17 Mar 2015 14:13:41 +0100 Subject: [PATCH] talk: Show all users that have some address information Formerly, only users who enabled their SIP account were shown --- webapp/backend/accounts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/backend/accounts.py b/webapp/backend/accounts.py index e52b1899..a359a711 100644 --- a/webapp/backend/accounts.py +++ b/webapp/backend/accounts.py @@ -183,7 +183,8 @@ class Account(Object): return "admins" in self.groups def is_talk_enabled(self): - return "sipUser" in self.classes or "sipRoutingObject" in self.classes + return "sipUser" in self.classes or "sipRoutingObject" in self.classes \ + or self.telephone_numbers or self.address @property def classes(self): -- 2.39.2