Merge branch 'dev'

pull/744/head
Dessalines 2020-04-01 12:18:21 -04:00
commit ef564b0a93
1 changed files with 3 additions and 2 deletions

View File

@ -375,12 +375,13 @@ export class Navbar extends Component<any, NavbarState> {
let link = isCommentType(reply) let link = isCommentType(reply)
? `/post/${reply.post_id}/comment/${reply.id}` ? `/post/${reply.post_id}/comment/${reply.id}`
: `/inbox`; : `/inbox`;
let body = md.render(reply.content); let htmlBody = md.render(reply.content);
let body = reply.content; // Unfortunately the notifications API can't do html
messageToastify( messageToastify(
creator_name, creator_name,
creator_avatar, creator_avatar,
body, htmlBody,
link, link,
this.context.router this.context.router
); );