Re: [Request] Edit History Log
Reply #1 –
This would be a pretty massive plugin, but it would be really nice to have. I think the best way to do it would be to just store the diff.
Re: [Request] Edit History Log
Reply #5 –
Cool! Maybe add a field on the messages table, "num_edits" so you can show that without an additional query.
Re: [Request] Edit History Log
Reply #6 –
Good point. nods
ETA: though, thinking about it again, that would require anyway a query, because basicMessageInfo wouldn't be able to grab that new column. Though there is still the advantage that would be a query a lot less expensive (just a SELECT on an index) than the current one.
Re: [Request] Edit History Log
Reply #7 –
That looks like a really good place to add a hook. Pass the SQL and the function parameters to it.