summaryrefslogtreecommitdiff
path: root/src/PhpBB3Message.php
diff options
context:
space:
mode:
authorCharly Root <root@muse-sequencer.org>2013-10-08 00:00:53 +0200
committerCharly Root <root@muse-sequencer.org>2013-10-08 00:00:53 +0200
commita1632d25fc46d130357c23c2304b5b73be8894f1 (patch)
tree8ad8fd45b88d89b74d03e2c0e24c2a9abce678cd /src/PhpBB3Message.php
parentf1dc6c534e9eb5071ca3ab3604a863ef878ca5ef (diff)
allow posting by unknown email addresses
Diffstat (limited to 'src/PhpBB3Message.php')
-rw-r--r--src/PhpBB3Message.php4
1 files changed, 4 insertions, 0 deletions
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'];
}