1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-05 10:18:09 +09:00

[Client] Fix bug

This commit is contained in:
syuilo 2017-06-07 15:19:28 +09:00
parent 05fcc84c22
commit f79b15f610

View File

@ -41,6 +41,8 @@ init(async (me, stream) => {
}); });
function registerNotifications(stream) { function registerNotifications(stream) {
if (stream == null) return;
stream.on('drive_file_created', file => { stream.on('drive_file_created', file => {
const n = new Notification('ファイルがアップロードされました', { const n = new Notification('ファイルがアップロードされました', {
body: file.name, body: file.name,