Skip to content
Snippets Groups Projects
Commit e404cb09 authored by inso's avatar inso
Browse files

Person constructor replaced with from_metadata

parent f52eddfd
No related branches found
No related tags found
No related merge requests found
......@@ -277,4 +277,5 @@ class Account(QObject):
return data
def get_person(self):
return Person(self.name, self.pubkey)
return Person.from_metadata({'text': self.name,
'id': self.pubkey})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment