diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-18 13:14:34 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-18 13:14:34 -0700 |
commit | 51db7536380d70e2047aa91c3a12809cc3444aa8 (patch) | |
tree | 359c67869e57a5c42aed637f63c2dd7953bddbb7 /include/enotify.php | |
parent | e271035879660bc9996101f3a23d61c88ecd5f53 (diff) | |
parent | 7c7a5cba8fe6fd6dc15acc14954d9ba9ed632c00 (diff) | |
download | volse-hubzilla-51db7536380d70e2047aa91c3a12809cc3444aa8.tar.gz volse-hubzilla-51db7536380d70e2047aa91c3a12809cc3444aa8.tar.bz2 volse-hubzilla-51db7536380d70e2047aa91c3a12809cc3444aa8.zip |
Merge branch 'tres'
Diffstat (limited to 'include/enotify.php')
-rw-r--r-- | include/enotify.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/enotify.php b/include/enotify.php index a46ae9997..cd49a9b34 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -82,8 +82,9 @@ function notification($params) { localize_item($i); $title = $i['title']; $body = $i['body']; - $private = (($i['item_private']) || ($i['item_flags'] & ITEM_OBSCURED)); - } else { + $private = (($i['item_private']) || intval($i['item_obscured'])); + } + else { $title = $params['item']['title']; $body = $params['item']['body']; } @@ -642,4 +643,4 @@ class enotify { ); logger("notification: enotify::send returns " . $res, LOGGER_DEBUG); } -}
\ No newline at end of file +} |