diff options
| author | 2019-09-25 17:12:55 +0100 | |
|---|---|---|
| committer | 2019-09-25 17:12:55 +0100 | |
| commit | c6efea39711636b9c954f1bcbffbd46b6dbdc050 (patch) | |
| tree | 6cd66432f34bda208f873576b9b17ffc267be081 /modules/fediverse | |
| parent | pleroma outbox items don't have an inReplyTo when it's null (diff) | |
| signature | ||
non-CWed pleroma posts have content as "", not null
Diffstat (limited to 'modules/fediverse')
| -rw-r--r-- | modules/fediverse/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fediverse/__init__.py b/modules/fediverse/__init__.py index e3c9ac63..d3a634fa 100644 --- a/modules/fediverse/__init__.py +++ b/modules/fediverse/__init__.py @@ -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) |
