Added no_export option to stop a message from being exported when saved.

This commit is contained in:
Deon George
2022-01-05 09:25:36 +11:00
parent 2f720d6c26
commit 3d6f233c1d
2 changed files with 8 additions and 0 deletions

View File

@@ -128,6 +128,7 @@ class ConvertMongo extends Command
$oo->set_path = $path ? array_filter($path) : [];
$oo->set_seenby = $seenby ? array_filter($seenby): [];
$oo->set_packet = $packet;
$oo->no_export = TRUE;
try {
$oo->save(['timestamps'=>FALSE]);