Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Automatic SimpleChat History Archiving or Cleanup

Avatar

Not applicable
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!
0 Replies

Avatar

Level 10


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

Not applicable
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

Level 10


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