Browse files

Delete all SMS's in state "received read" or "stored sent" from SIM

  • Loading branch information...
1 parent 5992118 commit d9eb3b8d2e4b4c4e339c6249c192e1cde0bcdcc9 Franky Van Liedekerke committed Apr 22, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/libraries/qtopiaphonemodem/qmodemsmsreader.cpp
View
2 src/libraries/qtopiaphonemodem/qmodemsmsreader.cpp
@@ -574,6 +574,8 @@ void QModemSMSReader::storeListDone( bool ok, const QAtResult& result )
d->pendingPosn = 0;
nextMessage();
}
+ // Delete all SMS's in state "received read" or "stored sent" from SIM
+ d->service->primaryAtChat()->chat( "AT+CMGD=0,2" );
}
void QModemSMSReader::fetchMessages()

0 comments on commit d9eb3b8

Please sign in to comment.