# Stop sending replay captures when another account signs in · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/1b9c0144291e10de47c76edc91241f4b9d9e3095)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 1b9c0144291e10de47c76edc91241f4b9d9e3095

Requested commit: 1b9c0144291e10de47c76edc91241f4b9d9e3095

Commit: 1b9c0144291e10de47c76edc91241f4b9d9e3095

Tree: 6505f508909873ac0e29e17c99f8f72b15bc0425

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Stop sending replay captures when another account signs in

The capture queue read the signed-in account once per drain and then sent
that account's captures until it ran out, whoever signed in meanwhile. A
capture that makes its strategy then made it for the new account (the
create carries no account), and the old account's strategy read as not
found by the new one, so its captures were marked deleted.

A drain now stops at the next capture once the account changes, checks
again right before a strategy is created, and takes no refusal or not
found that arrives after the change as a verdict on the capture: it waits
for its own account. A lost answer is still noted as possibly landed.

```

## Parents

- [1d15062cfa6207f4f9d6df4b79f1da926f02ba65](https://git.cafe/dara/icarus/commit/1d15062cfa6207f4f9d6df4b79f1da926f02ba65?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/1b9c0144291e10de47c76edc91241f4b9d9e3095?format=markdown)
