From 5aac7758ba23d6d2948d4d6669083e24ecb20f90 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Mon, 30 Sep 2013 23:13:53 +0100 Subject: [PATCH] remove old factionOnly flag from chat requests. although the stock site appears to send it still at first glance of the code, this appears to be incorrect - and sending it causes old messages to come first rather than new ones! (perhaps i've mis-identified the flag - and it's the one for getting older messages first?) for #589 --- code/chat.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/chat.js b/code/chat.js index f6749a71..ad1032ce 100644 --- a/code/chat.js +++ b/code/chat.js @@ -81,7 +81,6 @@ window.chat.genPostData = function(isFaction, storageHash, getOlderMsgs) { maxLngE6: Math.round(ne.lng*1E6), minTimestampMs: -1, maxTimestampMs: -1, - factionOnly: isFaction, chatTab: isFaction ? 'faction' : 'all' } @@ -690,7 +689,6 @@ window.chat.postMsg = function() { var data = {message: msg, latE6: Math.round(latlng.lat*1E6), lngE6: Math.round(latlng.lng*1E6), - factionOnly: !publik, chatTab: publik ? 'all' : 'faction'}; var errMsg = 'Your message could not be delivered. You can copy&' +