parent
c82cd14641
commit
4c2bb5ecfa
@ -81,7 +81,8 @@ window.chat.genPostData = function(isFaction, storageHash, getOlderMsgs) {
|
|||||||
maxLngE6: Math.round(ne.lng*1E6),
|
maxLngE6: Math.round(ne.lng*1E6),
|
||||||
minTimestampMs: -1,
|
minTimestampMs: -1,
|
||||||
maxTimestampMs: -1,
|
maxTimestampMs: -1,
|
||||||
factionOnly: isFaction
|
factionOnly: isFaction,
|
||||||
|
chatTab: isFaction ? 'faction' : 'all'
|
||||||
}
|
}
|
||||||
|
|
||||||
if(getOlderMsgs) {
|
if(getOlderMsgs) {
|
||||||
@ -689,7 +690,8 @@ window.chat.postMsg = function() {
|
|||||||
var data = {message: msg,
|
var data = {message: msg,
|
||||||
latE6: Math.round(latlng.lat*1E6),
|
latE6: Math.round(latlng.lat*1E6),
|
||||||
lngE6: Math.round(latlng.lng*1E6),
|
lngE6: Math.round(latlng.lng*1E6),
|
||||||
factionOnly: !publik};
|
factionOnly: !publik,
|
||||||
|
chatTab: publik ? 'all' : 'faction'};
|
||||||
|
|
||||||
var errMsg = 'Your message could not be delivered. You can copy&' +
|
var errMsg = 'Your message could not be delivered. You can copy&' +
|
||||||
'paste it here and try again if you want:\n\n' + msg;
|
'paste it here and try again if you want:\n\n' + msg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user