Commit 2b415b39 authored by Dan Pascu's avatar Dan Pascu

Set URI type for test contacts

parent 0d5b7bca
......@@ -2020,7 +2020,7 @@ class ContactModel(QAbstractListModel):
contact = addressbook.Contact(id)
contact.name = name
contact.preferred_media = preferred_media
contact.uris = [addressbook.ContactURI(uri=uri)]
contact.uris = [addressbook.ContactURI(uri=uri, type='SIP')]
contact.icon = IconDescriptor('file://' + icon)
return contact
test_contacts = [{'id': 'test_audio', 'name': 'Test Call', 'preferred_media': 'audio', 'uri': '3333@sip2sip.info', 'icon': Resources.get('icons/test-call.png')},
......
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