add txid macros

This commit is contained in:
ghost 2024-01-25 21:44:10 +02:00
parent 90e781c803
commit 3c8d9822c4
2 changed files with 3 additions and 1 deletions

View File

@ -251,12 +251,14 @@ class Room
// Build final view and send to response
return str_replace(
[
'{txid}',
'{time}',
'{author}',
'{quote}',
'{message}',
],
[
$record['txid'],
$this->_ago(
$matches[1]
),

View File

@ -2,5 +2,5 @@
> {quote}
{message}
```
{time}
{time} #{txid}
```