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 // Build final view and send to response
return str_replace( return str_replace(
[ [
'{txid}',
'{time}', '{time}',
'{author}', '{author}',
'{quote}', '{quote}',
'{message}', '{message}',
], ],
[ [
$record['txid'],
$this->_ago( $this->_ago(
$matches[1] $matches[1]
), ),

View File

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