fix: raw message in post is an array instead of a scalar
This commit is contained in:
parent
69a7126787
commit
159badc849
2 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ use Apache2::Const -compile => qw(OK DECLINED NOT_FOUND DIR_MAGIC_TYPE);
|
||||||
use Apache2::ServerUtil ();
|
use Apache2::ServerUtil ();
|
||||||
use LWP::MediaTypes qw(guess_media_type);
|
use LWP::MediaTypes qw(guess_media_type);
|
||||||
|
|
||||||
our $VERSION = "7.3.16";
|
our $VERSION = "7.3.17";
|
||||||
our $STATUS = "stable";
|
our $STATUS = "stable";
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,7 @@ sub addPost {
|
||||||
content=>$content,
|
content=>$content,
|
||||||
ownerUserId=>$user->userId,
|
ownerUserId=>$user->userId,
|
||||||
username=>$user->profileField("alias") || $user->username,
|
username=>$user->profileField("alias") || $user->username,
|
||||||
originalEmail=>$message->{rawMessage}
|
originalEmail=>join("",@{$message->{rawMessage}})
|
||||||
});
|
});
|
||||||
if (scalar(@attachments)) {
|
if (scalar(@attachments)) {
|
||||||
my $storage = $post->getStorageLocation;
|
my $storage = $post->getStorageLocation;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue