Commit 89e9c536 authored by Saul Ibarra's avatar Saul Ibarra

Fixed accessing attribute in class method

parent e0fb0bc1
......@@ -107,7 +107,7 @@ class HistoryEntry(object):
display_name = remote_identity.display_name
else:
display_name = contact.name
match = self.phone_number_re.match(remote_uri)
match = cls.phone_number_re.match(remote_uri)
if match:
remote_uri = match.group('number')
if display_name and display_name != remote_uri:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment