mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 21:27:46 +02:00
UBERF-7016: Hide channels without any activity long time (#6176)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -95,8 +95,7 @@ export async function OnMessageCreate (tx: Tx, control: TriggerControl): Promise
|
||||
// )
|
||||
res.push(
|
||||
control.txFactory.createTxUpdateDoc(doc._class, doc.space, doc._id, {
|
||||
lastUpdateTimestamp: tx.modifiedOn,
|
||||
hidden: false
|
||||
lastUpdateTimestamp: tx.modifiedOn
|
||||
})
|
||||
)
|
||||
}
|
||||
@@ -106,7 +105,6 @@ export async function OnMessageCreate (tx: Tx, control: TriggerControl): Promise
|
||||
user: tx.modifiedBy,
|
||||
attachedTo: channel._id,
|
||||
attachedToClass: channel._class,
|
||||
hidden: false,
|
||||
lastUpdateTimestamp: tx.modifiedOn
|
||||
// TODO: push inbox notification
|
||||
// txes: [
|
||||
|
||||
Reference in New Issue
Block a user