Move matrix-to.js to utils/permalinks/RoomPermalinkCreator
Just a little bit of refactoring to make the feature of custom prefixes a bit easier.
This commit is contained in:
parent
0ce227fc58
commit
64aa6695f5
16 changed files with 19 additions and 19 deletions
|
@ -28,7 +28,7 @@ import _sortBy from 'lodash/sortBy';
|
|||
import MatrixClientPeg from '../MatrixClientPeg';
|
||||
|
||||
import type {MatrixEvent, Room, RoomMember, RoomState} from 'matrix-js-sdk';
|
||||
import {makeUserPermalink} from "../matrix-to";
|
||||
import {makeUserPermalink} from "../utils/permalinks/RoomPermalinkCreator";
|
||||
import type {Completion, SelectionRange} from "./Autocompleter";
|
||||
|
||||
const USER_REGEX = /\B@\S*/g;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue