diff --git a/html/.eslintrc.js b/html/.eslintrc.js
index 10c8537d..220fa5c8 100644
--- a/html/.eslintrc.js
+++ b/html/.eslintrc.js
@@ -28,6 +28,7 @@ module.exports = {
'complexity': 0,
'default-case': 0,
'func-names': 0,
+ 'function-call-argument-newline': 0,
'guard-for-in': 0,
'id-length': 0,
'indent': 0,
@@ -42,6 +43,7 @@ module.exports = {
'multiline-comment-style': 0,
'newline-per-chained-call': 0,
'new-cap': 0,
+ 'no-bitwise': 0,
'no-console': 0,
'no-empty': ['error', { 'allowEmptyCatch': true }],
'no-magic-numbers': 0,
diff --git a/html/app.js b/html/app.js
index 106a3738..2f4b1f9f 100644
--- a/html/app.js
+++ b/html/app.js
@@ -3471,7 +3471,7 @@ if (window.CefSharp) {
VRCX,
nextRefresh: 0,
isGameRunning: false,
- appVersion: '2019.09.26',
+ appVersion: '2019.10.31',
latestAppVersion: '',
ossDialog: false
},
@@ -6147,6 +6147,25 @@ if (window.CefSharp) {
if (D.visible) {
if (command === 'Add Favorite') {
this.showFavoriteDialog('friend', D.id);
+ } else if (command === 'Show Avatar Author') {
+ var id = extractFileId(D.ref.currentAvatarImageUrl);
+ if (id) {
+ API.call(`file/${id}`).then((json) => {
+ if (D.id === json.ownerId) {
+ this.$message({
+ message: 'It is own avatar',
+ type: 'warning'
+ });
+ } else {
+ this.showUserDialog(json.ownerId);
+ }
+ });
+ } else {
+ this.$message({
+ message: 'Sorry, the author is unknown',
+ type: 'error'
+ });
+ }
} else if (command === 'Message') {
this.$prompt('Enter a message', 'Send Message', {
distinguishCancelAndClose: true,
diff --git a/html/index.html b/html/index.html
index 70a2424b..0f5e524f 100644
--- a/html/index.html
+++ b/html/index.html
@@ -922,6 +922,7 @@
+ Show Avatar Author
Message
Unfriend
@@ -1729,10 +1730,10 @@ SOFTWARE.
-
+
-
-
+
+
-
-
+
+