mirror of
https://github.com/kevachat/geminiapp.git
synced 2025-03-13 05:51:39 +00:00
reset Room::posts cache on sending new post
This commit is contained in:
parent
55a3a71909
commit
f990c1bc0b
@ -311,6 +311,14 @@ class Room
|
||||
$session
|
||||
);
|
||||
|
||||
// Reset post list cache for this room
|
||||
$this->_memory->delete(
|
||||
[
|
||||
'\Kevachat\Geminiapp\Controller\Room::posts',
|
||||
$namespace
|
||||
]
|
||||
);
|
||||
|
||||
// Success
|
||||
return $txid;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user