c90e8ab483
Step 3.ii of the name calculation algorithm[0] specifies the conditional as `heroes < invited + joined - 1 AND invited + joined > 1`. However, current implementation uses `invited + joined - 1 > 1` in the conditional, which can trigger the conditional if the user is alone. Correct this by using two variables representing `invited + joined` and `invited_joined - 1` and updating the conditional. `invited + joined` is kept as a variable since step 3.iii uses it for its conditional. [0] https://matrix.org/docs/spec/client_server/latest#calculating-the-display-name-for-a-room |
||
---|---|---|
.. | ||
.cargo | ||
examples | ||
src | ||
Cargo.toml | ||
README.md |