From a1632d25fc46d130357c23c2304b5b73be8894f1 Mon Sep 17 00:00:00 2001 From: Charly Root Date: Tue, 8 Oct 2013 00:00:53 +0200 Subject: allow posting by unknown email addresses --- src/PhpBB3Message.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/PhpBB3Message.php') diff --git a/src/PhpBB3Message.php b/src/PhpBB3Message.php index d31de1c..ef5a397 100644 --- a/src/PhpBB3Message.php +++ b/src/PhpBB3Message.php @@ -44,6 +44,10 @@ class PhpBB3Message implements Message { . $this->user->data['user_email'] . '>'; } + public function getFromDisplayName() { + return $this->user->data['username']; + } + public function getSubject() { return $this->post['post_subject']; } -- cgit v1.2.3