feat: access archived chats as admin

This commit is contained in:
Timothy J. Baek
2024-05-26 02:00:31 -07:00
parent 62d37f1f10
commit e20bb23409
4 changed files with 90 additions and 52 deletions
@@ -82,7 +82,7 @@
// Open all links in a new tab/window (from https://github.com/markedjs/marked/issues/655#issuecomment-383226346)
const origLinkRenderer = renderer.link;
renderer.link = (href, title, text) => {
renderer.link = (href, title, text) => {
const html = origLinkRenderer.call(renderer, href, title, text);
return html.replace(/^<a /, '<a target="_blank" rel="nofollow" ');
};