user_activity: Allow passing the `query` more directly.
user_activity: Allow passing the `query` more directly.

This won't work for all call paths without deeper refactoring,
but for at least some paths we can make this more direct -- function
arguments, rather than mutating a request attribute -- so it's easier
to see how the data is flowing.

kou/zulip,showell/zulip,jackrzhang/zulip,showell/zulip,shubhamdhama/zulip,kou/zulip,tommyip/zulip,zulip/zulip,mahim97/zulip,rht/zulip,zulip/zulip,zulip/zulip,eeshangarg/zulip,kou/zulip,rht/zulip,jackrzhang/zulip,eeshangarg/zulip,andersk/zulip,timabbott/zulip,rishig/zulip,hackerkid/zulip,punchagan/zulip,shubhamdhama/zulip,andersk/zulip,hackerkid/zulip,hackerkid/zulip,rishig/zulip,showell/zulip,hackerkid/zulip,synicalsyntax/zulip,mahim97/zulip,rishig/zulip,mahim97/zulip,rht/zulip,shubhamdhama/zulip,eeshangarg/zulip,kou/zulip,hackerkid/zulip,brainwane/zulip,zulip/zulip,tommyip/zulip,rishig/zulip,tommyip/zulip,punchagan/zulip,kou/zulip,mahim97/zulip,synicalsyntax/zulip,andersk/zulip,rishig/zulip,rht/zulip,timabbott/zulip,jackrzhang/zulip,eeshangarg/zulip,punchagan/zulip,dhcrzf/zulip,brainwane/zulip,brainwane/zulip,timabbott/zulip,kou/zulip,eeshangarg/zulip,timabbott/zulip,shubhamdhama/zulip,zulip/zulip,showell/zulip,punchagan/zulip,andersk/zulip,tommyip/zulip,synicalsyntax/zulip,shubhamdhama/zulip,mahim97/zulip,dhcrzf/zulip,brainwane/zulip,punchagan/zulip,dhcrzf/zulip,andersk/zulip,synicalsyntax/zulip,brainwane/zulip,showell/zulip,dhcrzf/zulip,shubhamdhama/zulip,jackrzhang/zulip,brainwane/zulip,rht/zulip,zulip/zulip,showell/zulip,jackrzhang/zulip,timabbott/zulip,timabbott/zulip,andersk/zulip,rht/zulip,hackerkid/zulip,rht/zulip,tommyip/zulip,rishig/zulip,dhcrzf/zulip,tommyip/zulip,punchagan/zulip,timabbott/zulip,andersk/zulip,synicalsyntax/zulip,eeshangarg/zulip,jackrzhang/zulip,dhcrzf/zulip,kou/zulip,hackerkid/zulip,zulip/zulip,synicalsyntax/zulip,jackrzhang/zulip,shubhamdhama/zulip,mahim97/zulip,synicalsyntax/zulip,eeshangarg/zulip,punchagan/zulip,rishig/zulip,dhcrzf/zulip,brainwane/zulip,tommyip/zulip,showell/zulip