revolution-irc icon indicating copy to clipboard operation
revolution-irc copied to clipboard

Allow volatile history

Open f1reflyyyylmao opened this issue 4 years ago • 1 comments

In the settings storage section, I can set the maximum chat history of a server to a maximum to 1Mb. Would it be possible to make this value nullable so the history is deleted on app close when messages go out of memory? I'd like my irc history to not be permanently stored on my android phone, and 1Mb is still a humongous amount when considering it's olny plaintext.

I'm not sure how this is done in the app, if the messages are automatically written to the database when they're received so the maximum size mustn't be zero, the solution could be to add a "delete server logs on app close" option.

Any opinion on this?

f1reflyyyylmao avatar Jan 26 '21 14:01 f1reflyyyylmao

Could use an in-memory store, althrough the server would be excluded from auto-reconnect in that case.

MCMrARM avatar Jan 30 '22 22:01 MCMrARM