diff --git a/src/xmpp/stanza.c b/src/xmpp/stanza.c index 878e5b13..affb6ff4 100644 --- a/src/xmpp/stanza.c +++ b/src/xmpp/stanza.c @@ -1954,7 +1954,7 @@ stanza_attach_caps(xmpp_ctx_t *const ctx, xmpp_stanza_t *const presence) char *sha1 = caps_get_my_sha1(ctx); xmpp_stanza_set_attribute(caps, STANZA_ATTR_HASH, "sha-1"); - xmpp_stanza_set_attribute(caps, STANZA_ATTR_NODE, "https://profanity-im.github.io"); + xmpp_stanza_set_attribute(caps, STANZA_ATTR_NODE, "http://profanity-im.github.io"); xmpp_stanza_set_attribute(caps, STANZA_ATTR_VER, sha1); xmpp_stanza_add_child(presence, caps); xmpp_stanza_release(caps); diff --git a/tests/functionaltests/proftest.c b/tests/functionaltests/proftest.c index 9d5c2fe2..50dbffd2 100644 --- a/tests/functionaltests/proftest.c +++ b/tests/functionaltests/proftest.c @@ -244,7 +244,7 @@ prof_connect_with_roster(char *roster) stbbr_for_id("prof_presence_1", "" "0" - "" + "" "" ); diff --git a/tests/functionaltests/test_connect.c b/tests/functionaltests/test_connect.c index 08d60412..e7dae21e 100644 --- a/tests/functionaltests/test_connect.c +++ b/tests/functionaltests/test_connect.c @@ -28,7 +28,7 @@ connect_jid_sends_presence_after_receiving_roster(void **state) assert_true(stbbr_received( "" - "" + "" "" )); } diff --git a/tests/functionaltests/test_muc.c b/tests/functionaltests/test_muc.c index 3aac9988..7727cb28 100644 --- a/tests/functionaltests/test_muc.c +++ b/tests/functionaltests/test_muc.c @@ -21,7 +21,7 @@ sends_room_join(void **state) assert_true(stbbr_last_received( "" "" - "" + "" "" )); } @@ -36,7 +36,7 @@ sends_room_join_with_nick(void **state) assert_true(stbbr_last_received( "" "" - "" + "" "" )); } @@ -53,7 +53,7 @@ sends_room_join_with_password(void **state) "" "testpassword" "" - "" + "" "" )); } @@ -70,7 +70,7 @@ sends_room_join_with_nick_and_password(void **state) "" "testpassword" "" - "" + "" "" )); } @@ -82,7 +82,7 @@ shows_role_and_affiliation_on_join(void **state) stbbr_for_id("prof_join_4", "" - "" + "" "" "" "" @@ -102,7 +102,7 @@ shows_subject_on_join(void **state) stbbr_for_id("prof_join_4", "" - "" + "" "" "" "" @@ -130,7 +130,7 @@ shows_history_message(void **state) stbbr_for_id("prof_join_4", "" - "" + "" "" "" "" @@ -159,7 +159,7 @@ shows_occupant_join(void **state) stbbr_for_id("prof_join_4", "" - "" + "" "" "" "" @@ -188,7 +188,7 @@ shows_message(void **state) stbbr_for_id("prof_join_4", "" - "" + "" "" "" "" @@ -215,7 +215,7 @@ shows_me_message_from_occupant(void **state) stbbr_for_id("prof_join_4", "" - "" + "" "" "" "" @@ -242,7 +242,7 @@ shows_me_message_from_self(void **state) stbbr_for_id("prof_join_4", "" - "" + "" "" "" "" @@ -269,7 +269,7 @@ shows_all_messages_in_console_when_window_not_focussed(void **state) stbbr_for_id("prof_join_4", "" - "" + "" "" "" "" @@ -310,7 +310,7 @@ shows_first_message_in_console_when_window_not_focussed(void **state) stbbr_for_id("prof_join_4", "" - "" + "" "" "" "" @@ -356,7 +356,7 @@ shows_no_message_in_console_when_window_not_focussed(void **state) stbbr_for_id("prof_join_4", "" - "" + "" "" "" "" diff --git a/tests/functionaltests/test_ping.c b/tests/functionaltests/test_ping.c index 5bb937b6..834e4447 100644 --- a/tests/functionaltests/test_ping.c +++ b/tests/functionaltests/test_ping.c @@ -86,7 +86,7 @@ void ping_jid(void **state) { stbbr_for_id("prof_caps_4", "" - "" + "" "" "" "" @@ -104,7 +104,7 @@ void ping_jid(void **state) "" "" @@ -113,7 +113,7 @@ void ping_jid(void **state) assert_true(stbbr_received( "" - "" + "" "" )); @@ -135,7 +135,7 @@ void ping_jid_not_supported(void **state) { stbbr_for_id("prof_caps_4", "" - "" + "" "" "" "" @@ -152,7 +152,7 @@ void ping_jid_not_supported(void **state) "" "" @@ -161,7 +161,7 @@ void ping_jid_not_supported(void **state) assert_true(stbbr_received( "" - "" + "" "" )); diff --git a/tests/functionaltests/test_presence.c b/tests/functionaltests/test_presence.c index bf0171a7..91bd2644 100644 --- a/tests/functionaltests/test_presence.c +++ b/tests/functionaltests/test_presence.c @@ -20,7 +20,7 @@ presence_online(void **state) assert_true(stbbr_received( "" - "" + "" "" )); @@ -37,7 +37,7 @@ presence_online_with_message(void **state) assert_true(stbbr_received( "" "Hi there" - "" + "" "" )); @@ -54,7 +54,7 @@ presence_away(void **state) assert_true(stbbr_received( "" "away" - "" + "" "" )); @@ -72,7 +72,7 @@ presence_away_with_message(void **state) "" "away" "I'm not here for a bit" - "" + "" "" )); @@ -89,7 +89,7 @@ presence_xa(void **state) assert_true(stbbr_received( "" "xa" - "" + "" "" )); @@ -107,7 +107,7 @@ presence_xa_with_message(void **state) "" "xa" "Gone to the shops" - "" + "" "" )); @@ -124,7 +124,7 @@ presence_dnd(void **state) assert_true(stbbr_received( "" "dnd" - "" + "" "" )); @@ -142,7 +142,7 @@ presence_dnd_with_message(void **state) "" "dnd" "Working" - "" + "" "" )); @@ -159,7 +159,7 @@ presence_chat(void **state) assert_true(stbbr_received( "" "chat" - "" + "" "" )); @@ -177,7 +177,7 @@ presence_chat_with_message(void **state) "" "chat" "Free to talk" - "" + "" "" )); @@ -194,7 +194,7 @@ presence_set_priority(void **state) assert_true(stbbr_received( "" "25" - "" + "" "" )); @@ -210,7 +210,7 @@ presence_includes_priority(void **state) assert_true(stbbr_received( "" "25" - "" + "" "" )); assert_true(prof_output_exact("Priority set to 25.")); @@ -221,7 +221,7 @@ presence_includes_priority(void **state) "25" "chat" "Free to talk" - "" + "" "" )); assert_true(prof_output_exact("Status set to chat (priority 25), \"Free to talk\".")); @@ -237,7 +237,7 @@ presence_keeps_status(void **state) "" "chat" "Free to talk" - "" + "" "" )); assert_true(prof_output_exact("Status set to chat (priority 0), \"Free to talk\".")); @@ -248,7 +248,7 @@ presence_keeps_status(void **state) "chat" "Free to talk" "25" - "" + "" "" )); assert_true(prof_output_exact("Priority set to 25.")); diff --git a/tests/functionaltests/test_receipts.c b/tests/functionaltests/test_receipts.c index 59333a87..59054ee8 100644 --- a/tests/functionaltests/test_receipts.c +++ b/tests/functionaltests/test_receipts.c @@ -36,7 +36,7 @@ send_receipt_request(void **state) stbbr_for_id("prof_caps_4", "" - "" + "" "" "" "" @@ -47,7 +47,7 @@ send_receipt_request(void **state) "" "15" "My status" - "" + "" "" );