mirror of
https://github.com/kevachat/geminiapp.git
synced 2025-03-13 05:51:39 +00:00
add txid macros
This commit is contained in:
parent
90e781c803
commit
3c8d9822c4
@ -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]
|
||||||
),
|
),
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
> {quote}
|
> {quote}
|
||||||
{message}
|
{message}
|
||||||
```
|
```
|
||||||
{time}
|
{time} #{txid}
|
||||||
```
|
```
|
Loading…
x
Reference in New Issue
Block a user