From b4b96bf62ba5eb0f161feb17e84c0570483372fe Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 19 Aug 2016 14:58:51 -0400 Subject: [PATCH] FIX: Support searching your PMs via full page --- lib/search.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/search.rb b/lib/search.rb index 92bd1b527..be4beb5a5 100644 --- a/lib/search.rb +++ b/lib/search.rb @@ -436,6 +436,9 @@ class Search elsif word == 'in:private' @search_pms = true nil + elsif word =~ /^private_messages:(.+)$/ + @search_pms = true + nil else found ? nil : word end