59c8652ce8
Step 3.iii of the naming algorithm[0] covers name calculation for empty rooms; however, it isn't an else condition for steps 3.i and 3.ii. It's a final conditional in the algorithm before returning the name. The current implementation treats it as an else condition. To fix this, use step 3.i and 3.ii to calculate a room name then check if the user is alone. If alone, return "Empty room (was...)" containing any former member names. If alone and there aren't any former members, return "Empty room" Fixes #133 [0] https://matrix.org/docs/spec/client_server/latest#calculating-the-display-name-for-a-room |
||
---|---|---|
.. | ||
rooms | ||
store | ||
client.rs | ||
error.rs | ||
lib.rs | ||
session.rs |