Use new $db
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Send the id_msg
Signed-off-by:Joshua Dickerson <joshua.a.dickerson@gmail.com>
Old thumb info needs update. updateAttachmentsThumbnail() needs id_attach.

Signed-off-by: Norv <a.w.norv@gmail.com>