Skip to content

Commit

Permalink
Fix minor prefixing mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Unkn0wnCat authored Sep 27, 2021
1 parent 87cb5d7 commit 9fcd90c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Link.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class Link {

let [identifier, eventId] = linkStr.split("/");

if(linkStr.startsWith("matrix:") || linkStr.startsWith("u/") || linkStr.startsWith("roomid/")) {
if(linkStr.startsWith("matrix:") || linkStr.startsWith("u/") || linkStr.startsWith("r/") || linkStr.startsWith("roomid/")) {
const split = linkStr.split("/");

if(split.length < 2) return null;
Expand Down

0 comments on commit 9fcd90c

Please sign in to comment.