Implemented XEP-0106 JID Escaping Transformations for Matrix room IDs#91
Implemented XEP-0106 JID Escaping Transformations for Matrix room IDs#91rakaar wants to merge 1 commit intomatrix-org:developfrom
Conversation
Half-Shot
left a comment
There was a problem hiding this comment.
This looks good, thank you! One thing to mention is that it would be nice to see some test cases written up as unit tests. It should be easy because the function is static and hasno dependencies.
|
@Half-Shot
Do you want me to write unit tests? |
|
Yes please :) |
|
@Half-Shot |
|
Would you mind commuting your changes anyway, so I can take a look. |
|
Just noticed, could you remove the |
… and added unit tests for the same
89915a2 to
b01024b
Compare
|
@Half-Shot |
|
@Half-Shot |
|
@rakaar, @Half-Shot: Any news? |

Implemented XEP-0106 Escaping transformations as mentioned in #83 as per this document in the file
src/MatrixRoomHandler.ts. This is done using a function by nameXEP0106_APPLY_ESCAPING_TRANSFORMATIONSat the top of the file after imports.To ensure, nothing is broken, I have run the command
npm run test, which resulted in all tests passed.