INNER CODE UNIT · TypeScript
sendProbe
gommzystudio/device-activity-tracker · src/signal-tracker.ts:271
private async sendProbe() {
if (this.probeMethod === 'reaction') {
await this.sendReactionProbe();
} else {
await this.sendMessageProbe();
}
}
/**
* Send a reaction probe - sends a reaction to trigger delivery receipt
* Uses serialized approach: correlation is by order, not timestamp
*/
private async sendReactionProbe() {
const timestamp = Date.now();
const reactions = ['👍', '❤️', '😂', '😮', '😢', '🙏'];
const randomReaction = reactions[Math.floor(Math.random() * reactions.length)];
try {