mirror of
https://github.com/jech/galene.git
synced 2024-11-26 02:25:58 +01:00
Add warnings about disclosing IP addresses.
This commit is contained in:
parent
c38c5555b0
commit
6d250bfa98
1 changed files with 5 additions and 1 deletions
|
@ -2252,6 +2252,10 @@ function fileTransferBox(up, id, fileid, f) {
|
|||
}
|
||||
let status = document.createElement('div');
|
||||
status.id = 'status-' + fullid;
|
||||
if(!up) {
|
||||
status.textContent =
|
||||
'(Choosing "Accept" will disclose your IP address.)';
|
||||
}
|
||||
let div = document.createElement('div');
|
||||
div.id = 'file-' + fullid;
|
||||
div.appendChild(p);
|
||||
|
@ -3212,7 +3216,7 @@ commands.unraise = {
|
|||
|
||||
commands.sendfile = {
|
||||
parameters: 'user',
|
||||
description: 'send file',
|
||||
description: 'send a file (this will disclose your IP address)',
|
||||
f: (c, r) => {
|
||||
let p = parseCommand(r);
|
||||
if(!p[0])
|
||||
|
|
Loading…
Reference in a new issue