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
This commit is contained in:
parent
4c2bb5ecfa
commit
8cc246c5f7
@ -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&' +
|
||||
|
Loading…
x
Reference in New Issue
Block a user