@@ -106,6 +106,10 @@ const messageSchema = new Schema(
type: Boolean,
default: false,
},
+ edited: {
+ type: Boolean,
+ default: false,
+ },
owner: {
type: SchemaTypes.ObjectId,
ref: 'user',