1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

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:
Travis Ralston
2019-09-30 12:16:46 -06:00
parent 0ce227fc58
commit 64aa6695f5
16 changed files with 19 additions and 19 deletions

View File

@@ -11,15 +11,15 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import expect from 'expect';
import peg from '../src/MatrixClientPeg';
import expect from 'expect/build/index';
import peg from '../../../src/MatrixClientPeg';
import {
makeGroupPermalink,
makeRoomPermalink,
makeUserPermalink,
RoomPermalinkCreator,
} from "../src/matrix-to";
import * as testUtils from "./test-utils";
} from "../../../src/utils/permalinks/RoomPermalinkCreator";
import * as testUtils from "../../test-utils";
function mockRoom(roomId, members, serverACL) {
members.forEach(m => m.membership = "join");