msglinks.lua: add expiration of links