for some reason SEND_PLEXT no longer munges it's parameters - but everything else does still!

no idea if it's permanant, or an accident - so we'll handle either munged or unmunged parameters now
This commit is contained in:
Jon Atkins
2014-05-10 00:36:44 +01:00
parent d7207137ab
commit 8b7d031208
2 changed files with 26 additions and 18 deletions

View File

@ -79,7 +79,7 @@ window.chat.genPostData = function(isFaction, storageHash, getOlderMsgs) {
maxLngE6: Math.round(ne.lng*1E6),
minTimestampMs: -1,
maxTimestampMs: -1,
chatTab: isFaction ? 'faction' : 'all'
chatTabGet: isFaction ? 'faction' : 'all'
}
if(getOlderMsgs) {
@ -689,10 +689,10 @@ window.chat.postMsg = function() {
var publik = c === 'public';
var latlng = map.getCenter();
var data = {message: msg,
latE6: Math.round(latlng.lat*1E6),
lngE6: Math.round(latlng.lng*1E6),
chatTab: publik ? 'all' : 'faction'};
var data = {messageSendPlext: msg,
latE6SendPlext: Math.round(latlng.lat*1E6),
lngE6SendPlext: Math.round(latlng.lng*1E6),
chatTabSendPlext: publik ? 'all' : 'faction'};
var errMsg = 'Your message could not be delivered. You can copy&' +
'paste it here and try again if you want:\n\n' + msg;