You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-23 22:42:10 +03:00
Add changelog entry for breaking change
This commit is contained in:
@@ -2,6 +2,11 @@ Changes in 0.3.0
|
||||
================
|
||||
|
||||
**BREAKING CHANGES**:
|
||||
* `RoomMember.getAvatarUrl()` and `MatrixClient.mxcUrlToHttp()` now return the
|
||||
empty string when given anything other than an mxc:// URL. This ensures that
|
||||
clients never inadvertantly reference content directly, leaking information
|
||||
to third party servers. Tne allowDirectLinks option is provided if the client
|
||||
wants to allow such links.
|
||||
* `MatrixClient.getAvatarUrlForMember` has been removed and replaced with
|
||||
`RoomMember.getAvatarUrl`. Arguments remain the same except the homeserver
|
||||
URL must now be supplied from `MatrixClient.getHomeserverUrl()`.
|
||||
|
||||
Reference in New Issue
Block a user