fix sending anonymous comments

This commit is contained in:
El RIDO 2018-07-01 07:18:21 +00:00
parent 5eebd27e82
commit c22537c979
4 changed files with 5 additions and 4 deletions

View file

@ -4099,7 +4099,7 @@ jQuery.PrivateBin = (function($, sjcl, Base64, RawDeflate) {
DiscussionViewer.addComment(
comment,
CryptTool.decipher(key, password, comment.data),
CryptTool.decipher(key, password, comment.meta.nickname)
comment.meta.nickname ? CryptTool.decipher(key, password, comment.meta.nickname) : ''
);
}