summaryrefslogtreecommitdiff
path: root/src/PhpBB3Message.php
diff options
context:
space:
mode:
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'];
}