Skip to content
Snippets Groups Projects
Commit f128c472 authored by Edric Milaret's avatar Edric Milaret Committed by gerrit2
Browse files

emergency fix for invalid contact method in ancient account

This will need further investigation

Change-Id: I530ffdcda271d04b2a00af590b71bda78c443e5d
parent 7e73b31a
Branches
Tags
No related merge requests found
......@@ -639,7 +639,7 @@ QVariant InstantMessagingModel::data( const QModelIndex& idx, int role) const
auto cm = m_pRecording->call()->account()->contactMethod();
return GlobalInstances::pixmapManipulator().decorationRole(cm);
} else if (n->m_pMessage->direction == Media::Media::Direction::OUT){
return GlobalInstances::pixmapManipulator().decorationRole(n->m_pContactMethod->account()->contactMethod());
return GlobalInstances::pixmapManipulator().decorationRole((ContactMethod*)nullptr);
}
break;
case (int)Media::TextRecording::Role::Direction :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment