From 865bdea5bbfb86c4d0b7abbd7737d926b4bb9dd5 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sat, 4 May 2013 01:19:02 -0700 Subject: [PATCH] Allow sending teams larger than chat limit --- js/client-mainmenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/client-mainmenu.js b/js/client-mainmenu.js index 399495390..17d46f6e8 100644 --- a/js/client-mainmenu.js +++ b/js/client-mainmenu.js @@ -282,7 +282,7 @@ if (app.user.teams[teamIndex]) team = app.user.teams[teamIndex].team; $(target).closest('.challenge').remove(); - if (team) app.send('/saveteam '+$.toJSON(team)); + if (team) app.send('/utm '+$.toJSON(team)); app.send('/accept '+userid); }, rejectChallenge: function(i, target) { @@ -305,7 +305,7 @@ buf += '

'; $(target).closest('.challenge').html(buf); - if (team) app.send('/saveteam '+$.toJSON(team)); + if (team) app.send('/utm '+$.toJSON(team)); app.send('/challenge '+userid+', '+format); }, cancelChallenge: function(i, target) {