mark signature forgeries

This commit is contained in:
friendica
2014-10-16 16:19:19 -07:00
parent 8391e8b1a1
commit 7bbe700f3f
6 changed files with 16 additions and 4 deletions

View File

@@ -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(),