hannesm / jackline

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

export notification state to file #55

Closed sg2342 closed 9 years ago

sg2342 commented 9 years ago

another attempt at hannesm/jackline#38

if the file "notification.state" exists in the configuration
directory, it will overwritten with
"disconnected" or
"connected" or
"connected_notifications" or
"disconnected_notifications"
when connection state or pending notifications change
on exit, "quit" will be
hannesm commented 9 years ago

thanks! I like this, but changed it slightly (always try to write the file; move into a module; get rid of a lwt.async) in #56