diff options
Diffstat (limited to 'src/web/app/common')
| -rw-r--r-- | src/web/app/common/scripts/compose-notification.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/web/app/common/scripts/compose-notification.ts b/src/web/app/common/scripts/compose-notification.ts index d0e0c2098d..e1dbd3bc13 100644 --- a/src/web/app/common/scripts/compose-notification.ts +++ b/src/web/app/common/scripts/compose-notification.ts @@ -54,6 +54,13 @@ export default function(type, data): Notification { icon: data.user.avatar_url + '?thumbnail&size=64' }; + case 'othello_invited': + return { + title: '対局への招待があります', + body: `${data.parent.name}さんから`, + icon: data.parent.avatar_url + '?thumbnail&size=64' + }; + default: return null; } |