0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 08:42:34 +01:00

ircd:Ⓜ️:fed: Rename property in well-known cache record.

This commit is contained in:
Jason Volk 2020-03-07 23:59:22 -08:00
parent abdb7c0f51
commit 97747219a4

View file

@ -1524,7 +1524,7 @@ try
const json::string cached const json::string cached
{ {
content["m_server"] content["m.server"]
}; };
const seconds ttl const seconds ttl
@ -1540,6 +1540,7 @@ try
const bool expired const bool expired
{ {
ircd::now<system_point>() > expires ircd::now<system_point>() > expires
|| empty(cached)
}; };
// Crucial value that will provide us with a return string for this // Crucial value that will provide us with a return string for this
@ -1613,7 +1614,7 @@ try
json::stack::member json::stack::member
{ {
content, "m_server", delegated content, "m.server", delegated
}; };
} }