From bceb02d760f53877f0f677144bc468ffbc4e66f2 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Fri, 16 Nov 2018 05:47:29 +0900 Subject: local only visibility (#3254) * local only visibility * fix UI --- src/queue/index.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/queue/index.ts') 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, -- cgit v1.2.3-freya