]> granicus.if.org Git - ejabberd/commit
New option tombstone_expiry locks recent room creation after destroy (#2546)
authorBadlop <badlop@process-one.net>
Mon, 30 Jul 2018 15:26:57 +0000 (17:26 +0200)
committerBadlop <badlop@process-one.net>
Mon, 30 Jul 2018 17:24:35 +0000 (19:24 +0200)
commitefb4fd0d1020faa105bf932c06cf4c67fb389952
tree8f8f9ad688ff02671f5dc5b3ad866488b61d21ed
parent83e24628538cb29586686ee88a26d431885105eb
New option tombstone_expiry locks recent room creation after destroy (#2546)

Setting the new mod_muc option tombstone_expiry to a positive integer
will make that any room destroyed gets replaced with a room tombstone.
That tombstone cannot be joined, so it blocks accessing the old room JID
until the expiry seconds have passed.
The default value is 0 seconds, so tombstones are not created.
src/mod_muc.erl
src/mod_muc_room.erl