Normally we do not need a workaround here at all but we had one in the displayname calculation for historical reasons. A "good" server should always send the mHeroes correctly. Instead of removing this workaround completely we do a compromise and implement a more lightweight alt behaviour by just saying that in a DM room with no heroes, the directChatMatrixId will be used. This is the same behaviour like in Element and needs way less lines than before and also covers the avatar calculation. For Synapse we seem to not need this but for Conduit it might be helpful. |
||
|---|---|---|
| .. | ||
| encryption | ||
| src | ||
| encryption.dart | ||
| matrix.dart | ||