mirror of
https://github.com/matrix-construct/construct
synced 2025-02-27 14:10:13 +01:00
ircd:Ⓜ️:fed: Add a default ttl when read from content.
This commit is contained in:
parent
cffe801148
commit
f649a31925
1 changed files with 1 additions and 1 deletions
|
@ -1720,7 +1720,7 @@ try
|
||||||
|
|
||||||
const seconds ttl
|
const seconds ttl
|
||||||
{
|
{
|
||||||
content.get<time_t>("ttl", time_t(0))
|
content.get<time_t>("ttl", time_t(86400))
|
||||||
};
|
};
|
||||||
|
|
||||||
const system_point expires
|
const system_point expires
|
||||||
|
|
Loading…
Add table
Reference in a new issue