{
RTComEl *el_nonconst(const_cast<RTComEl *>(&el));
- bool incoming = CurrentSettings().ShouldProcess( Settings::TYPE_RECIEVED, service);
- bool outgoing = CurrentSettings().ShouldProcess( Settings::TYPE_SENT, service);
+ bool incoming = CurrentSettings().ShouldProcess( Settings::INCOMING, service);
+ bool outgoing = CurrentSettings().ShouldProcess( Settings::OUTGOING, service);
if(incoming || outgoing)
{
QList<RTComElAttachment *> rattachments;
RTComElAttachIter *at_it = rtcom_el_iter_get_attachments(it);
- if(it != NULL)
+ if(at_it != NULL)
{
qDebug() << "Attachments OK";
if(rtcom_el_attach_iter_first(at_it))