Ссылка для комментария

This commit is contained in:
upagge 2020-06-17 19:24:45 +03:00
parent 72d0d2fd89
commit 117f3ca443
No known key found for this signature in database
GPG Key ID: 15CD012E46F6BA34

View File

@ -145,7 +145,7 @@ public class Message {
public static String commentPr(@NonNull CommentJson comment, @NonNull String namePr, @NonNull String urlPr) {
return Smile.BELL + " *Новый комментарий к ПР*" + Smile.BR +
link(namePr, urlPr) +
link(namePr, urlPr + "/overview?commentId=" + comment.getId()) +
Smile.HR +
comment.getAuthor().getName() + ": " + comment.getText().replaceAll("@[\\w]+", "");
}