Commit graph

8 commits

Author SHA1 Message Date
Simon Ser
fdb90ec95d Drop dangling var keyword 2021-09-21 18:26:42 +02:00
Simon Ser
9f0177dea0 store: fix undefined load call in Buffer.clear 2021-09-13 10:33:14 +02:00
Simon Ser
aa9ce73d5a Restore channel unread status from local storage
Closes: https://todo.sr.ht/~emersion/gamja/75
Closes: https://todo.sr.ht/~emersion/gamja/89
2021-08-23 14:17:58 +02:00
Simon Ser
c47af780f6 Restore user query buffer unread status 2021-08-23 12:25:43 +02:00
Simon Ser
016ca27f2d Restore opened user query buffers
Closes: https://todo.sr.ht/~emersion/gamja/93
2021-08-23 12:02:36 +02:00
Simon Ser
2fb4393f24 store: remove dead code 2021-07-30 18:01:42 +02:00
Simon Ser
8972130252 s/var/let/ 2021-06-10 18:11:11 +02:00
Simon Ser
695b02caaa Introduce store helper
Responsible for serializing/deserializing data to be saved in
localStorage. Add a prefix to all localStorage entries to avoid
conflicts with other webapps. Stop guarding against localStorage
not existing, browsers can just implement a dumb interface to
disable it.
2021-05-26 18:43:11 +02:00