* [sup-devel] How to get labels from sup for a specific message id?
@ 2013-05-11 0:30 Horacio Sanson
0 siblings, 0 replies; only message in thread
From: Horacio Sanson @ 2013-05-11 0:30 UTC (permalink / raw)
To: Sup developer discussion
[-- Attachment #1.1: Type: text/plain, Size: 610 bytes --]
For my gmail source [1] I need to find out the labels for each message in
sup. This is to update the remote Gmail with the labels the user set using
sup.
I am not very familiar with sup source code and my attempts to extract the
message labels based on the message id have failed.
My last try was:
index = Redwood::Index.instance
msg = index.build_message(uid)
but this results in an error about Range not being converted to Integer.
The uid is the id I use to register the message to sup during the poll
method call.
Any tips are appreciated
Horacio
[1] https://github.com/hsanson/sup/tree/gmail_source
[-- Attachment #1.2: Type: text/html, Size: 899 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-11 0:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-11 0:30 [sup-devel] How to get labels from sup for a specific message id? Horacio Sanson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox