cabal-club / cabal-client

interface for writing peer-to-peer chat clients
GNU General Public License v3.0
95 stars 14 forks source link

Idea: search for messages #5

Closed cinnamon-bun closed 4 years ago

cinnamon-bun commented 5 years ago

Something like

client.searchMessages({
    // various optional query settings:
    text: 'blah',  // case-insensitive substring match or fuzzy match
    channel: 'foo',  // limit to one channel?
    author: 'bar',  // limit to one author?
})
--> list or stream of matching messages, most recent first
cblgh commented 4 years ago

the basics were added in #44 :)