(entry)
| 509 | const evidence = [] |
| 510 | |
| 511 | function addEvidence (entry) { |
| 512 | evidence.push({ |
| 513 | previousHeaderSignature: entry.previousSignature, |
| 514 | uuid: entry.senderUuid, |
| 515 | message: entry.message, |
| 516 | messageHash: entry.messageHash, |
| 517 | signature: entry.signature, |
| 518 | timestamp: entry.timestamp, |
| 519 | salt: entry.salt, |
| 520 | lastSeen: entry.lastSeen |
| 521 | }) |
| 522 | } |
| 523 | |
| 524 | for (let i = 0; i < client._lastChatHistory.capacity; i++) { |
| 525 | const entry = client._lastChatHistory[i] |