You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -19,7 +19,7 @@ import PlatformPeg from './PlatformPeg';
|
|||||||
import SdkConfig from './SdkConfig';
|
import SdkConfig from './SdkConfig';
|
||||||
|
|
||||||
function getRedactedUrl() {
|
function getRedactedUrl() {
|
||||||
const redactedHash = window.location.hash.replace(/#\/(room|user)\/(.+)/, "#/$1/<redacted>");
|
const redactedHash = window.location.hash.replace(/#\/(group|room|user)\/(.+)/, "#/$1/<redacted>");
|
||||||
// hardcoded url to make piwik happy
|
// hardcoded url to make piwik happy
|
||||||
return 'https://riot.im/app/' + redactedHash;
|
return 'https://riot.im/app/' + redactedHash;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user