From: Michael Tremer Date: Tue, 17 Mar 2015 13:13:41 +0000 (+0100) Subject: talk: Show all users that have some address information X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06c1d39c3ed45c28931a6a48e53f4fe67f726cce;p=ipfire.org.git talk: Show all users that have some address information Formerly, only users who enabled their SIP account were shown --- 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):