mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
fix(streaming): async storage
This commit is contained in:
parent
9e34838de8
commit
a1326dedcc
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ const streamingController: AppController = (c) => {
|
|||
const event = msg[2];
|
||||
|
||||
if (pubkey) {
|
||||
const policy = new MuteListPolicy(pubkey, Storages.admin);
|
||||
const policy = new MuteListPolicy(pubkey, await Storages.admin());
|
||||
const ok = await policy.call(event);
|
||||
if (ok[2] === false) {
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue