FIX: Support searching your PMs via full page

This commit is contained in:
Robin Ward 2016-08-19 14:58:51 -04:00
parent 0ddb51608c
commit b4b96bf62b

View file

@ -436,6 +436,9 @@ class Search
elsif word == 'in:private' elsif word == 'in:private'
@search_pms = true @search_pms = true
nil nil
elsif word =~ /^private_messages:(.+)$/
@search_pms = true
nil
else else
found ? nil : word found ? nil : word
end end