Only send ping requests to client that support it

This commit is contained in:
James Booth
2017-06-16 00:59:21 +01:00
parent 970ab94ed3
commit f189dbc687
4 changed files with 105 additions and 9 deletions

View File

@@ -35,9 +35,11 @@ int main(int argc, char* argv[]) {
PROF_FUNC_TEST(connect_bad_password),
PROF_FUNC_TEST(connect_shows_presence_updates),
PROF_FUNC_TEST(ping_multiple),
PROF_FUNC_TEST(ping_not_supported),
PROF_FUNC_TEST(ping_responds),
PROF_FUNC_TEST(ping_server),
PROF_FUNC_TEST(ping_server_not_supported),
PROF_FUNC_TEST(ping_responds_to_server_request),
PROF_FUNC_TEST(ping_jid),
PROF_FUNC_TEST(ping_jid_not_supported),
PROF_FUNC_TEST(rooms_query),