From 81764f358a3320f7086f8d22fb1ef37fb12d7aec Mon Sep 17 00:00:00 2001 From: JT Smith Date: Tue, 14 Sep 2010 11:03:55 -0400 Subject: [PATCH] fixed forwarding --- lib/Lacuna/RPC/Inbox.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Lacuna/RPC/Inbox.pm b/lib/Lacuna/RPC/Inbox.pm index e5790072..44182edd 100644 --- a/lib/Lacuna/RPC/Inbox.pm +++ b/lib/Lacuna/RPC/Inbox.pm @@ -85,8 +85,8 @@ sub send_message { my $forward = Lacuna->db->resultset('Lacuna::DB::Result::Message')->find($options->{forward}); unless ($empire->id ~~ [$forward->to_id, $forward->from_id]) { confess [1010, 'You cannot forward a message id that you cannot read.']; - $attachments = $forward->attachments; } + $attachments = $forward->attachments; } my @sent; my @unknown; -- 2.54.0