Created
June 9, 2011 10:26
-
-
Save benlangfeld/1016487 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set_caps "http://yourdomain.com[or something else unique to identify your software]", [{:name => "somename", :type => "bot", :category => "client"}], ["http://jabber.org/protocol/si/profile/file-transfer"] | |
send_caps |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This didn't quite do it for me; I needed to specify the following capabilities:
Here's a working example bot that receives files: https://gist.github.com/dreness/6261903#file-filesink-rb