Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement /ping command #417

Closed
boothj5 opened this issue Aug 30, 2014 · 3 comments
Closed

Implement /ping command #417

boothj5 opened this issue Aug 30, 2014 · 3 comments

Comments

@boothj5
Copy link
Collaborator

boothj5 commented Aug 30, 2014

By default, /ping should send a ping to users chat service.

@tdi
Copy link

tdi commented Aug 30, 2014

Is it XEP-0199 ? http://xmpp.org/extensions/xep-0199.html

@boothj5
Copy link
Collaborator Author

boothj5 commented Aug 31, 2014

Yes that's the one.

Currently /autoping uses it to try to keep connections alive for servers that disconnect due to inactivity.

However I think a /ping command with more options would be useful.

@boothj5 boothj5 added this to the 0.4.5 milestone Aug 31, 2014
@boothj5
Copy link
Collaborator Author

boothj5 commented Sep 4, 2014

Added /ping command in master. Supplying no arguments will send a ping to your chat server. Supplying an argument specifies the ping destination e.g.:

/ping jabber.org - Ping the jabber.org service
/ping dukgo.com - Ping the dukgo.com service
/ping buddy@server.com - This will ping your contacts account at their chat service (server.com), not the contacts client.
/ping buddy@server.com/laptop - Ping the users client on their laptop.

Tab autocompletion uses contacts plus their connected resources (the final example above).

@boothj5 boothj5 closed this as completed Sep 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants