hannesm / jackline

minimalistic secure XMPP client in OCaml
BSD 2-Clause "Simplified" License
251 stars 20 forks source link

notifications: retain notifications for active contact #58

Closed cfcs closed 9 years ago

cfcs commented 9 years ago

notifications: retain notifications for active contact if the user is scrolled up and haven't read the new messages.

The change to line 478 in cli/cli_client.ml is not strictly needed atm since the current behavior is to reset scrollback when the user switches the active contact, but I hope it serves as reminder to keep track of notifications when at some nice point in time we will have user-specific scrollback state.

hannesm commented 9 years ago

thanks!