Chat history
We’ve (finally!) got round to releasing the chat history function on the live OpenLearn server (more details).. so pleased we’ve now got that done
Posts tagged ‘chat history’
We’ve (finally!) got round to releasing the chat history function on the live OpenLearn server (more details).. so pleased we’ve now got that done
I’ve now implemented the chat history function on the msg.open.ac.uk server, so we can try it out there for little while, before I transfer it over to the msg-openlearn server.
I have found a couple of little ‘quirks’ which I’m not sure will annoy users or not…
Any feedback on the new chat history function is much appreciated
Spent the day yesterday figuring out how I could implement a load chat history function in MSG – as one of the things I find a little annoying with MSG is that if you accidentally close the chat window, you can’t get the chat back – and if I find it irritating then I’m sure others do too
There were 2 ways I thought I could approach this…
Each of these options has it’s pros and cons. Approach 1 means creating a new logging system (re-inventing functionality already implemented in OpenFire), but it would be quick to return the results to users (no parsing involved), whereas approach 2 has the opposite pros & cons – the logging is already implemented, but if the logs get big, it could take a while to parse/process them.
I decided to take approach 2, as it just *seems right*, but if it does start to become slow (with the parsing involved) we’ve got another method we could implement. In order to reduce the amount of parsing of log files, I’m restricting the conversation history returned to the last 7 days – although I’ll set the server to store the last 30 days, so we can increase the amount of history returned if it all works ok.
I’ve got most of this fixed up now and implemented – the final bit to put in place is to actually display the history back to the user in the chat window.
Hopefully this function with be useful to people (well, at the very least, I’ll find it handy!)