{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/6749","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/6749/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/6749/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/6749/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/6749","id":223304380,"number":6749,"title":"Deleting old messages?","user":{"login":"WebSavvyGuy","id":24284360,"avatar_url":"https://avatars1.githubusercontent.com/u/24284360?v=3","gravatar_id":"","url":"https://api.github.com/users/WebSavvyGuy","html_url":"https://github.com/WebSavvyGuy","followers_url":"https://api.github.com/users/WebSavvyGuy/followers","following_url":"https://api.github.com/users/WebSavvyGuy/following{/other_user}","gists_url":"https://api.github.com/users/WebSavvyGuy/gists{/gist_id}","starred_url":"https://api.github.com/users/WebSavvyGuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WebSavvyGuy/subscriptions","organizations_url":"https://api.github.com/users/WebSavvyGuy/orgs","repos_url":"https://api.github.com/users/WebSavvyGuy/repos","events_url":"https://api.github.com/users/WebSavvyGuy/events{/privacy}","received_events_url":"https://api.github.com/users/WebSavvyGuy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-04-21T07:45:25Z","updated_at":"2017-04-21T17:57:53Z","closed_at":null,"body":"<!-- INSTRUCTION: Complete the information below from your Administration page -->\r\n\r\nRocket.Chat Version: 0.55.0 rc-6\r\nRunning Instances: 1\r\nDB Replicaset OpLog:\r\nNode Version: 4.5.0\r\n\r\nHi\r\n\r\nIs there a way to delete (prune) old messages automatically?  Ideally i would only want something like the last 50 messages posted to the room to be saved and viewable for any particular user.\r\n\r\nI am rather new to Rocket.chat and did not find this function.   It seems to store the entire history since the beginning and that would take up a lot of disk space if left on long enough.\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/296260592","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/6749#issuecomment-296260592","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/6749","id":296260592,"user":{"login":"jszaszvari","id":872463,"avatar_url":"https://avatars2.githubusercontent.com/u/872463?v=3","gravatar_id":"","url":"https://api.github.com/users/jszaszvari","html_url":"https://github.com/jszaszvari","followers_url":"https://api.github.com/users/jszaszvari/followers","following_url":"https://api.github.com/users/jszaszvari/following{/other_user}","gists_url":"https://api.github.com/users/jszaszvari/gists{/gist_id}","starred_url":"https://api.github.com/users/jszaszvari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jszaszvari/subscriptions","organizations_url":"https://api.github.com/users/jszaszvari/orgs","repos_url":"https://api.github.com/users/jszaszvari/repos","events_url":"https://api.github.com/users/jszaszvari/events{/privacy}","received_events_url":"https://api.github.com/users/jszaszvari/received_events","type":"User","site_admin":false},"created_at":"2017-04-21T17:57:53Z","updated_at":"2017-04-21T17:57:53Z","body":"Although the disk space usage should be minimal, we just hit 80,500 messages total and are using 700mb disk space in Mongo - So I'm not sure I'd worry about the last 50 messages....\r\n\r\n<img width=\"592\" alt=\"screen shot 2017-04-22 at 3 54 23 am\" src=\"https://cloud.githubusercontent.com/assets/872463/25290113/d5e689b8-270f-11e7-848b-31ff47ab6f87.png\">\r\n<img width=\"365\" alt=\"screen shot 2017-04-22 at 3 52 55 am\" src=\"https://cloud.githubusercontent.com/assets/872463/25290114/d61715f6-270f-11e7-8776-44da183e3fb3.png\">\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"jszaszvari"}}