summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-12-09 23:10:02 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-12-09 23:10:02 +0900
commit284df2743539c382e3607b74e1f8539354aee650 (patch)
tree435ac40a93ce3bf590f93b2a9505bea0b7d0b082 /src
parentFix mobile following/followed list (#3574) (diff)
downloadmisskey-284df2743539c382e3607b74e1f8539354aee650.tar.gz
misskey-284df2743539c382e3607b74e1f8539354aee650.tar.bz2
misskey-284df2743539c382e3607b74e1f8539354aee650.zip
Use camelCase
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/components/ui.header.nav.vue2
-rw-r--r--src/client/app/desktop/views/components/ui.sidebar.vue2
-rw-r--r--src/client/app/mobile/views/components/ui.header.vue2
-rw-r--r--src/client/app/mobile/views/components/ui.nav.vue2
-rw-r--r--src/server/api/endpoints/games/reversi/match.ts2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/client/app/desktop/views/components/ui.header.nav.vue b/src/client/app/desktop/views/components/ui.header.nav.vue
index aed0c89be0..03a5bf9484 100644
--- a/src/client/app/desktop/views/components/ui.header.nav.vue
+++ b/src/client/app/desktop/views/components/ui.header.nav.vue
@@ -61,7 +61,7 @@ export default Vue.extend({
this.connection = this.$root.stream.useSharedConnection('main');
this.connection.on('reversiInvited', this.onReversiInvited);
- this.connection.on('reversi_no_invites', this.onReversiNoInvites);
+ this.connection.on('reversiNoInvites', this.onReversiNoInvites);
}
},
beforeDestroy() {
diff --git a/src/client/app/desktop/views/components/ui.sidebar.vue b/src/client/app/desktop/views/components/ui.sidebar.vue
index 5b46460114..9bf68f1efe 100644
--- a/src/client/app/desktop/views/components/ui.sidebar.vue
+++ b/src/client/app/desktop/views/components/ui.sidebar.vue
@@ -111,7 +111,7 @@ export default Vue.extend({
this.connection = this.$root.stream.useSharedConnection('main');
this.connection.on('reversiInvited', this.onReversiInvited);
- this.connection.on('reversi_no_invites', this.onReversiNoInvites);
+ this.connection.on('reversiNoInvites', this.onReversiNoInvites);
}
},
diff --git a/src/client/app/mobile/views/components/ui.header.vue b/src/client/app/mobile/views/components/ui.header.vue
index 0fd722717a..32ec0a9b72 100644
--- a/src/client/app/mobile/views/components/ui.header.vue
+++ b/src/client/app/mobile/views/components/ui.header.vue
@@ -51,7 +51,7 @@ export default Vue.extend({
this.connection = this.$root.stream.useSharedConnection('main');
this.connection.on('reversiInvited', this.onReversiInvited);
- this.connection.on('reversi_no_invites', this.onReversiNoInvites);
+ this.connection.on('reversiNoInvites', this.onReversiNoInvites);
}
},
diff --git a/src/client/app/mobile/views/components/ui.nav.vue b/src/client/app/mobile/views/components/ui.nav.vue
index 002f95773a..19e02523b7 100644
--- a/src/client/app/mobile/views/components/ui.nav.vue
+++ b/src/client/app/mobile/views/components/ui.nav.vue
@@ -83,7 +83,7 @@ export default Vue.extend({
this.connection = this.$root.stream.useSharedConnection('main');
this.connection.on('reversiInvited', this.onReversiInvited);
- this.connection.on('reversi_no_invites', this.onReversiNoInvites);
+ this.connection.on('reversiNoInvites', this.onReversiNoInvites);
}
},
diff --git a/src/server/api/endpoints/games/reversi/match.ts b/src/server/api/endpoints/games/reversi/match.ts
index 43b6fc8eed..a3cc523a8c 100644
--- a/src/server/api/endpoints/games/reversi/match.ts
+++ b/src/server/api/endpoints/games/reversi/match.ts
@@ -66,7 +66,7 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => {
});
if (other == 0) {
- publishMainStream(user._id, 'reversi_no_invites');
+ publishMainStream(user._id, 'reversiNoInvites');
}
} else {
// Fetch child