Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Comment slightly more
Browse files Browse the repository at this point in the history
  • Loading branch information
Powersource committed May 19, 2019
1 parent bdd5822 commit a9c5bc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/page/html/render/message.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ exports.create = function (api) {
sbot.patchwork.contacts.isBlocking({ source: me, dest: value.author }, (err, blocking) => {
if (err) return cb(err)
if (blocking) {
// Returning null to render 'Cannot display message.'
// Returning null to render 'Cannot display message.' if we've
// blocked the person
cb(null, null)
} else if (isBlog(msg)) {
Blog(api.sbot.obs.connection).async.get(msg, (err, result) => {
Expand Down

0 comments on commit a9c5bc0

Please sign in to comment.