Commit 1a060f74 authored by Saul Ibarra's avatar Saul Ibarra

Save preferred media when creating a contact

parent bda66c34
......@@ -2060,6 +2060,7 @@ class ContactEditorDialog(base_class, ui_class):
group = self.group.itemData(group_index).toPyObject()
if self.edited_contact is None:
contact = Contact(group, name, uri, image=image)
contact.preferred_media = preferred_media
contact.sip_aliases = sip_aliases
contact_model.addContact(contact)
else:
......
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