diff -r 518b245aa84c -r 4e4b6adb1024 messagingapp/msgui/appengine/src/conversationsmodel.cpp --- a/messagingapp/msgui/appengine/src/conversationsmodel.cpp Fri Jun 25 15:47:40 2010 +0530 +++ b/messagingapp/msgui/appengine/src/conversationsmodel.cpp Tue Jun 29 23:42:47 2010 +0530 @@ -515,8 +515,8 @@ //populate from data plugins if (!isEntryInDb || err != KErrNone) { - int id = iMmsDataPlugin->setMessageId(entry.EntryId()); - if(id <= 0) + int error = iMmsDataPlugin->setMessageId(entry.EntryId()); + if(error != KErrNone) { // skip all return;