non-CWed pleroma posts have content as "", not null
This commit is contained in:
parent
6199086dc5
commit
c6efea3971
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class Module(ModuleManager.BaseModule):
|
|||
shorturl = self.exports.get_one("shorturl")(event["server"], url,
|
||||
context=event["target"])
|
||||
|
||||
if not cw == None:
|
||||
if cw:
|
||||
out = "CW: %s - %s" % (cw, shorturl)
|
||||
else:
|
||||
out = "%s - %s" % (out, shorturl)
|
||||
|
|
Loading…
Reference in a new issue