Rename RoomPermalinkCreator -> Permalinks due to scope
The file handles more than just a RoomPermalinkCreator, so we should name it accordingly.
This commit is contained in:
@@ -17,7 +17,7 @@ limitations under the License.
|
||||
|
||||
import { walkDOMDepthFirst } from "./dom";
|
||||
import { checkBlockNode } from "../HtmlUtils";
|
||||
import {getPrimaryPermalinkEntity} from "../utils/permalinks/RoomPermalinkCreator";
|
||||
import {getPrimaryPermalinkEntity} from "../utils/permalinks/Permalinks";
|
||||
|
||||
function parseAtRoomMentions(text, partCreator) {
|
||||
const ATROOM = "@room";
|
||||
|
||||
@@ -16,7 +16,7 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
import Markdown from '../Markdown';
|
||||
import {makeGenericPermalink} from "../utils/permalinks/RoomPermalinkCreator";
|
||||
import {makeGenericPermalink} from "../utils/permalinks/Permalinks";
|
||||
|
||||
export function mdSerialize(model) {
|
||||
return model.parts.reduce((html, part) => {
|
||||
|
||||
Reference in New Issue
Block a user