andris9 / hoodiecrow

Scriptable IMAP server for client integration testing
http://andris9.github.io/hoodiecrow/
Other
60 stars 25 forks source link

basic X-GM-THRID search support for the x-gm-ext plugin #8

Open krasiyan opened 10 years ago

krasiyan commented 10 years ago

This pull request brings very basic support for searching by X-GM-THRID by registering a searchHandler identical to the one for X-GM-MSGID in the x-gm-ext plugin :)

andris9 commented 10 years ago

Good idea. I'l look at it today or tomorrow as I wanted to generate default thread-id values as well (if you use x-gm-ext1 and do not specify a thread-id manually, a default one should be used) – I figured that hashing the subject to a 64 bit uint would be good enough for this.