summaryrefslogtreecommitdiff
path: root/src/client/app/common/scripts/compose-notification.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-07-24 23:43:14 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-07-24 23:43:14 +0900
commit03ce87d710b9194a43370dd1736e38b2dde2aa55 (patch)
treee677de10794af095f7ece821a4e55f4492468d09 /src/client/app/common/scripts/compose-notification.ts
parentwip (diff)
downloadsharkey-03ce87d710b9194a43370dd1736e38b2dde2aa55.tar.gz
sharkey-03ce87d710b9194a43370dd1736e38b2dde2aa55.tar.bz2
sharkey-03ce87d710b9194a43370dd1736e38b2dde2aa55.zip
wip
Diffstat (limited to 'src/client/app/common/scripts/compose-notification.ts')
-rw-r--r--src/client/app/common/scripts/compose-notification.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/client/app/common/scripts/compose-notification.ts b/src/client/app/common/scripts/compose-notification.ts
index 47499e5490..c93609bc59 100644
--- a/src/client/app/common/scripts/compose-notification.ts
+++ b/src/client/app/common/scripts/compose-notification.ts
@@ -17,21 +17,21 @@ export default function(type, data): Notification {
return {
title: 'ファイルがアップロードされました',
body: data.name,
- icon: data.url + '?thumbnail&size=64'
+ icon: data.url
};
case 'unread_messaging_message':
return {
title: `${getUserName(data.user)}さんからメッセージ:`,
body: data.text, // TODO: getMessagingMessageSummary(data),
- icon: data.user.avatarUrl + '?thumbnail&size=64'
+ icon: data.user.avatarUrl
};
case 'reversi_invited':
return {
title: '対局への招待があります',
body: `${getUserName(data.parent)}さんから`,
- icon: data.parent.avatarUrl + '?thumbnail&size=64'
+ icon: data.parent.avatarUrl
};
case 'notification':
@@ -40,28 +40,28 @@ export default function(type, data): Notification {
return {
title: `${getUserName(data.user)}さんから:`,
body: getNoteSummary(data),
- icon: data.user.avatarUrl + '?thumbnail&size=64'
+ icon: data.user.avatarUrl
};
case 'reply':
return {
title: `${getUserName(data.user)}さんから返信:`,
body: getNoteSummary(data),
- icon: data.user.avatarUrl + '?thumbnail&size=64'
+ icon: data.user.avatarUrl
};
case 'quote':
return {
title: `${getUserName(data.user)}さんが引用:`,
body: getNoteSummary(data),
- icon: data.user.avatarUrl + '?thumbnail&size=64'
+ icon: data.user.avatarUrl
};
case 'reaction':
return {
title: `${getUserName(data.user)}: ${getReactionEmoji(data.reaction)}:`,
body: getNoteSummary(data.note),
- icon: data.user.avatarUrl + '?thumbnail&size=64'
+ icon: data.user.avatarUrl
};
default: