Benutzer-Werkzeuge

Webseiten-Werkzeuge


howto:matrix:max_lifetime

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
howto:matrix:max_lifetime [2022/02/18 15:47]
casper
howto:matrix:max_lifetime [2022/02/26 15:42] (aktuell)
yadda add hint: conversion to milliseconds
Zeile 9: Zeile 9:
 It is possible to send custom events from developer tools of element web and set room retention time there. Something like: Right-click a room → Settings → Advanced → Open developer tools → Send custom event It is possible to send custom events from developer tools of element web and set room retention time there. Something like: Right-click a room → Settings → Advanced → Open developer tools → Send custom event
  
-type: m.room.retention +You'll first need to convert the desired time in days to milliseconds, i.e.: 1000*60*60*24*<number_of_days> 
-content: { "max_lifetime": 34560000002 }+ 
 +  type:    m.room.retention 
 +  content: { "max_lifetime": 34560000002 }
  
 Click the red "Event"-button and then send. Click the red "Event"-button and then send.
howto/matrix/max_lifetime.1645195671.txt.gz · Zuletzt geändert: 2022/02/18 15:47 von casper