Expand my Community achievements bar.

Automatic SimpleChat History Archiving or Cleanup

Avatar

Former Community Member
How can I force simple chat components history nodes to be
automatically cleared after a certain number of days? Do I have to
use the AFCS RoomCleaner class for this?



Has anyone in the forum tried to come up with "Message
archiving management" for Simple Chat component?



Thanks in advance!
4 Replies

Avatar

Former Community Member


Hi flexicoda,



The only settings we offer for persistence are totally
transient (no persistence), user-persistent, and
session-persistent.



If you need a certain number of days, that's not really
something we support. Would clearing upon the end of session (once
all users leave) be enough?



If that's not enough, we are considering adding HTTP APIs so
that you would be able to have your own server subscribe to the
room and retract the chat items, on any schedule you'd like. Would
that fit for you?



nigel

Avatar

Former Community Member
Ok... having access to REST API should be be good enough. Is
it going to be made available in near future, maybe next relesae?



Thanks

Avatar

Level 2

quote:




Originally posted by:
Nigel Pegg




If that's not enough, we are considering adding HTTP APIs so
that you would be able to have your own server subscribe to the
room and retract the chat items, on any schedule you'd like. Would
that fit for you?







I'd like to also echo the sentiment for a fully functional
HTTP API. I find it critical for the server to have the ability to
act as a normal user in terms of the data sent back and forth
(including permissions as owner) as well as room setup and
maintenance options. I have somewhat avoided the server side by
using the local connection server until I can do this. I have to do
this piece eventually though.



Now if you are willing to provide "another service" to do
what the google app engine cloud does (or similar) that has direct
access to an AFCS API. I could cope with that too :).



Ves



Avatar

Former Community Member


Cool, I'm glad people are excited to try the HTTP APIs. We
are actively working on them right now, but it might take more than
one release before we can give you access - It's tricky business
providing HTTP access, from a design and security standpoint,
especially when one of the main features of AFCS is server push.
Our plan is to provide some specs early, let you guys review them
as we work it out.



nigel