aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/Result/Problem.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-11-14 13:26:54 +0000
committerDave Arter <davea@mysociety.org>2019-12-09 12:50:07 +0000
commita19b5ed0ad1d77ae3cd263f3c297a5bd755bfcc3 (patch)
treecd2c0f283e63df9259017b7e7dc8d9fb62ccd4ca /perllib/FixMyStreet/DB/Result/Problem.pm
parent5ffe5b967e91d0660e10c762b31bef678fe5acc6 (diff)
[TfL] Updates are sent to the body.
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/Problem.pm')
-rw-r--r--perllib/FixMyStreet/DB/Result/Problem.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Problem.pm b/perllib/FixMyStreet/DB/Result/Problem.pm
index 4b52cd11d..28703c416 100644
--- a/perllib/FixMyStreet/DB/Result/Problem.pm
+++ b/perllib/FixMyStreet/DB/Result/Problem.pm
@@ -911,6 +911,8 @@ bodies by some mechanism. Right now that mechanism is Open311.
sub updates_sent_to_body {
my $self = shift;
+
+ return 1 if $self->to_body_named('TfL');
return unless $self->send_method_used && $self->send_method_used =~ /Open311/;
# Some bodies only send updates *to* FMS, they don't receive updates.