Browse Source

reset Room::posts cache on sending new post

main
ghost 10 months ago
parent
commit
f990c1bc0b
  1. 8
      src/controller/room.php

8
src/controller/room.php

@ -311,6 +311,14 @@ class Room @@ -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…
Cancel
Save