mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
remove messages after sending them if they appear to have been sent
successfully.
This commit is contained in:
parent
8e6812780d
commit
58be931558
1 changed files with 1 additions and 1 deletions
|
@ -784,7 +784,7 @@ handleMsgsMsg( int sock, bool sendFull,
|
|||
ssize_t nwritten = write( sock, &out[0], out.size() );
|
||||
if ( sendFull && nwritten >= 0 && (size_t)nwritten == out.size() ) {
|
||||
dbmgr->RecordSent( &msgIDs[0], msgIDs.size() );
|
||||
// dbmgr->RemoveStoredMessages( &msgIDs[0], msgIDs.size() );
|
||||
dbmgr->RemoveStoredMessages( &msgIDs[0], msgIDs.size() );
|
||||
}
|
||||
}
|
||||
} // handleMsgsMsg
|
||||
|
|
Loading…
Add table
Reference in a new issue