Setting connection priorities with Blather?

22 views
Skip to first unread message

Tom

unread,
Aug 24, 2009, 6:16:36 AM8/24/09
to Blather
Hi Jeff,

digging through the RDOCs I didn't find anything on connection
priority. Any way to do this?

Thanks,

Tom

Jeff Smick

unread,
Aug 24, 2009, 10:38:55 AM8/24/09
to xmpp-b...@googlegroups.com
Hm.. unfortunately I haven't (yet) made it as easy as it should be.
However you can do this:

status = Stanza::Presence::Status.new
status.priority = [-128..+127]
write status

I've made a note to simplify the process in the next release.

--Jeff
Reply all
Reply to author
Forward
0 new messages