aboutsummaryrefslogtreecommitdiffstats
path: root/include/ItemObject.php
diff options
context:
space:
mode:
authorpafcu <pafcu@iki.fi>2014-10-21 00:02:08 +0300
committerpafcu <pafcu@iki.fi>2014-10-21 00:02:08 +0300
commit6fbd77069b8792b48cfbd45bd476b8acb5f98ed6 (patch)
tree7f1303769398dc0862a2941e64e7a42e4e39d10d /include/ItemObject.php
parent6ee514579f85927e60fa5ebd2b89f97cbfe6544d (diff)
parentc080c420ba4e9f216708b63fdddb5c03bbea72c9 (diff)
downloadvolse-hubzilla-6fbd77069b8792b48cfbd45bd476b8acb5f98ed6.tar.gz
volse-hubzilla-6fbd77069b8792b48cfbd45bd476b8acb5f98ed6.tar.bz2
volse-hubzilla-6fbd77069b8792b48cfbd45bd476b8acb5f98ed6.zip
Merge pull request #2 from friendica/master
Sync with upstream
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r--include/ItemObject.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index 7c75e35bd..90c036def 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -191,7 +191,8 @@ class Item extends BaseObject {
}
- $verified = (($item['item_flags'] & ITEM_VERIFIED) ? t('Message is verified') : '');
+ $verified = (($item['item_flags'] & ITEM_VERIFIED) ? t('Message signature validated') : '');
+ $forged = ((($item['sig']) && (! ($item['item_flags'] & ITEM_VERIFIED))) ? t('Message signature incorrect') : '');
$unverified = '' ; // (($this->is_wall_to_wall() && (! ($item['item_flags'] & ITEM_VERIFIED))) ? t('Message cannot be verified') : '');
@@ -269,6 +270,7 @@ class Item extends BaseObject {
'lock' => $lock,
'verified' => $verified,
'unverified' => $unverified,
+ 'forged' => $forged,
'location' => $location,
'indent' => $indent,
'owner_url' => $this->get_owner_url(),