summaryrefslogtreecommitdiff
path: root/src/queue/index.ts
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2018-11-16 05:47:29 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2018-11-16 05:47:29 +0900
commitbceb02d760f53877f0f677144bc468ffbc4e66f2 (patch)
treecc12d9836b81deecead9417c8fd6df635784fefd /src/queue/index.ts
parent[Client] Add missing icon (diff)
downloadsharkey-bceb02d760f53877f0f677144bc468ffbc4e66f2.tar.gz
sharkey-bceb02d760f53877f0f677144bc468ffbc4e66f2.tar.bz2
sharkey-bceb02d760f53877f0f677144bc468ffbc4e66f2.zip
local only visibility (#3254)
* local only visibility * fix UI
Diffstat (limited to 'src/queue/index.ts')
-rw-r--r--src/queue/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/queue/index.ts b/src/queue/index.ts
index 5a48dbe648..8683bcd1df 100644
--- a/src/queue/index.ts
+++ b/src/queue/index.ts
@@ -6,6 +6,8 @@ export function createHttpJob(data: any) {
}
export function deliver(user: ILocalUser, content: any, to: any) {
+ if (content == null) return;
+
createHttpJob({
type: 'deliver',
user,