From 0ce40b991790cd7695f289b27237b8f2751e5f9b Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 19 Oct 2015 10:25:15 -0400 Subject: Bug 1146780 - treat github and mozreview attachments as patches --- extensions/BMO/lib/Data.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'extensions/BMO/lib/Data.pm') diff --git a/extensions/BMO/lib/Data.pm b/extensions/BMO/lib/Data.pm index d5a87b50a..c799de2aa 100644 --- a/extensions/BMO/lib/Data.pm +++ b/extensions/BMO/lib/Data.pm @@ -28,16 +28,19 @@ our %autodetect_attach_urls = ( title => 'GitHub Pull Request', regex => qr#^https://github\.com/[^/]+/[^/]+/pull/\d+/?$#i, content_type => 'text/x-github-pull-request', + can_review => 1, }, reviewboard => { title => 'MozReview', regex => qr#^https?://reviewboard(?:-dev)?\.(?:allizom|mozilla)\.org/r/\d+/?#i, content_type => 'text/x-review-board-request', + can_review => 1, }, google_docs => { title => 'Google Doc', regex => qr#^https://docs\.google\.com/(?:document|spreadsheets|presentation)/d/#i, content_type => 'text/x-google-doc', + can_review => 0, }, ); -- cgit v1.2.3-24-g4f1b