matterhorn-50200.12.0: Terminal client for the Mattermost chat system
Safe HaskellNone
LanguageHaskell2010

Matterhorn.State.Users

Synopsis

Documentation

handleTypingUser :: UserId -> ChannelId -> MH () Source #

Handle the typing events from the websocket to show the currently typing users on UI

withFetchedUser :: UserFetch -> (UserInfo -> MH ()) -> MH () Source #

Given a user fetching strategy, locate the user in the state or fetch it from the server, and pass the result to the specified action. Assumes a single match is the only expected/valid result.