mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-05 10:18:09 +09:00
[Client] Fix bug
This commit is contained in:
parent
05fcc84c22
commit
f79b15f610
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user