ユーザーマッチングを呼ぶとき、自分自身、フォロー済み、ブラックリスト、ボットを除く。

This commit is contained in:
Hakaba Hitoyo 2018-07-07 20:14:15 +09:00 committed by GitHub
parent aad1ae656e
commit 760522312d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -416,7 +416,7 @@ function showMat() {
var full=$("#his-acct").attr("fullname"); var full=$("#his-acct").attr("fullname");
var acct_id=$("#his-data").attr("use-acct"); var acct_id=$("#his-data").attr("use-acct");
full=full.split("@"); full=full.split("@");
var start = "https://vinayaka.distsn.org/cgi-bin/vinayaka-user-match-api.cgi?"+full[1]+"+" + full[0]; var start = "https://vinayaka.distsn.org/cgi-bin/vinayaka-user-match-filtered-api.cgi?"+full[1]+"+" + full[0];
console.log(start); console.log(start);
fetch(start, { fetch(start, {
method: 'GET', method: 'GET',
@ -451,4 +451,4 @@ function showMat() {
}); });
$("#his-matching-list-contents").html(templete); $("#his-matching-list-contents").html(templete);
}); });
} }