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
|
@ -26,7 +26,7 @@ import {PillCompletion} from './Components';
|
|||
import {getDisplayAliasForRoom} from '../Rooms';
|
||||
import sdk from '../index';
|
||||
import _sortBy from 'lodash/sortBy';
|
||||
import {makeRoomPermalink} from "../matrix-to";
|
||||
import {makeRoomPermalink} from "../utils/permalinks/RoomPermalinkCreator";
|
||||
import type {Completion, SelectionRange} from "./Autocompleter";
|
||||
|
||||
const ROOM_REGEX = /\B#\S*/g;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue