Skip to content
Permalink
Browse files

share anonymously for matches

  • Loading branch information...
Manuel-777 committed Jun 15, 2019
1 parent 59a2e08 commit 2dde8b2974129feb805e78256038fc70dea0dfde
Showing with 4 additions and 0 deletions.
  1. +4 −0 window_background/http-api.js
@@ -484,6 +484,10 @@ function httpGetCourse(courseId) {

function httpSetMatch(match) {
var _id = makeId(6);
if (pd.settings.anon_explore == true) {
match.player.userid = "000000000000000";
match.player.name = "Anonymous";
}
match = JSON.stringify(match);
httpAsync.push({
reqId: _id,

0 comments on commit 2dde8b2

Please sign in to comment.
You can’t perform that action at this time.