forked from FoundKeyGang/FoundKey
[Client] Fix bug
This commit is contained in:
parent
05fcc84c22
commit
f79b15f610
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ init(async (me, stream) => {
|
|||
});
|
||||
|
||||
function registerNotifications(stream) {
|
||||
if (stream == null) return;
|
||||
|
||||
stream.on('drive_file_created', file => {
|
||||
const n = new Notification('ファイルがアップロードされました', {
|
||||
body: file.name,
|
||||
|
|
Loading…
Reference in a new issue