public function markAsUnread()
	{
		if (!$this->get('id'))
		{
			$this->addError('Recipient record not found');
			return false;
		}

		$xseen = Seen::oneByMessageAndUser($this->get('mid'), $this->get('uid'));

		if ($xseen->get('id'))
		{
			if (!$xseen->destroy())
			{
				$this->addError($xseen->getError());
				return false;
			}
		}

		return true;
	}
public function markAsUnread()
	{
		if (!$this->get('id'))
		{
			$this->addError('Recipient record not found');
			return false;
		}

		$xseen = Seen::oneByMessageAndUser($this->get('mid'), $this->get('uid'));

		if ($xseen->get('id'))
		{
			if (!$xseen->destroy())
			{
				$this->addError($xseen->getError());
				return false;
			}
		}

		return true;
	}
public function markAsUnread ( ) { if ( ! $ this -> get ( 'id' ) ) { $ this -> addError ( 'Recipient record not found' ) ; return false ; } $ xseen = Seen :: oneByMessageAndUser ( $ this -> get ( 'mid' ) , $ this -> get ( 'uid' ) ) ; if ( $ xseen -> get ( 'id' ) ) { if ( ! $ xseen -> destroy ( ) ) { $ this -> addError ( $ xseen -> getError ( ) ) ; return false ; } } return true ; }
Mark a message as not being read by the recipient

@return  boolean  True on success
Mark a message as not being read by the recipient