[history] fix signature and media url extraction(fixes #8240)