Merge lp:~robru/friends/streams into lp:friends
Status: | Merged |
---|---|
Merged at revision: | 2 |
Proposed branch: | lp:~robru/friends/streams |
Merge into: | lp:friends |
Diff against target: |
129 lines (+14/-14) 3 files modified
friends/protocols/twitter.py (+6/-6) friends/tests/test_identica.py (+3/-3) friends/tests/test_twitter.py (+5/-5) |
To merge this branch: | bzr merge lp:~robru/friends/streams |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ken VanDine | Approve | ||
Barry Warsaw | Pending | ||
Review via email: mp+129544@code.launchpad.net |
Description of the change
Hey barry, it occurred to me that we are just dumping all of our messages into the 'messages' stream, regardless of what type of message it really is, and this makes it kinda difficult for GUI frontends to distinguish between different types of messages.
So what I've done here is enabled a couple of streams, named 'private' and 'search/*'. The private one is for holding private messages, and then any search will create a new 'search/[query]' stream. This thus makes it possible for a frontend to have a new tab for each search, because before, any search results would just be dumped directly into the messages stream, and show up intermingled with normal messages.
In the process of implementing this, I noticed that Twitter is the only protocol for which we've implemented searching, so implementing search on the other protocols should probably be a pretty high priority in the coming week. ;-)
Looks good and yay tests!