Skip to content

Commit a08a9b2

Browse files
committed
[pubsub] Mark publish and subscribe features as recommended (not required)
As per recent standards@ discussion, these features are not required, but recommended. See also - xsf/xeps#1467 - https://logs.xmpp.org/xsf/2025-10-03#2025-10-03-f173fd843da7c3ee - https://mail.jabber.org/hyperkitty/list/standards@xmpp.org/thread/R4K2OAPVBQ4IC757F2YBZDV4PPHFGRNS/
1 parent 413c594 commit a08a9b2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

smack-extensions/src/main/java/org/jivesoftware/smackx/pubsub/PubSubFeature.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
*
3-
* Copyright 2015 Florian Schmaus
3+
* Copyright 2015-2025 Florian Schmaus
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -56,7 +56,7 @@ public enum PubSubFeature implements CharSequence {
5656
persistent_items(Support.recommended),
5757
presence_notifications(Support.optional),
5858
presence_subscribe(Support.recommended),
59-
publish(Support.required),
59+
publish(Support.recommended),
6060
publish_options(Support.optional),
6161
publish_only_affiliation(Support.optional),
6262
publisher_affiliation(Support.recommended),
@@ -67,7 +67,7 @@ public enum PubSubFeature implements CharSequence {
6767
retrieve_default_sub(Support.optional),
6868
retrieve_items(Support.recommended),
6969
retrieve_subscriptions(Support.recommended),
70-
subscribe(Support.required),
70+
subscribe(Support.recommended),
7171
subscription_options(Support.optional),
7272
subscriptions_notifications(Support.optional),
7373
instant_nodes(Support.recommended),

0 commit comments

Comments
 (0)