Skip to content

fix: allow adding own JID to roster#2127

Merged
jubalh merged 1 commit intomasterfrom
fix/2084
Mar 20, 2026
Merged

fix: allow adding own JID to roster#2127
jubalh merged 1 commit intomasterfrom
fix/2084

Conversation

@jubalh
Copy link
Copy Markdown
Member

@jubalh jubalh commented Mar 20, 2026

Enable adding oneself to the roster.

Self subscriptions are implicit according to XEP-0060 / XEP-0163. So we adapt the /sub command to handle this gracefully by just printing an informative message.

Profanitys logic didn't handle own presence/when adding to roster correctly. This got fixed now.

Fixes: #2084

@jubalh jubalh added this to the next milestone Mar 20, 2026
@jubalh jubalh self-assigned this Mar 20, 2026
Enable adding oneself to the roster.

Self subscriptions are implicit according to XEP-0060 / XEP-0163.
So we adapt the /sub command to handle this gracefully by just printing
an informative message.

Profanitys logic didn't handle own presence/when adding to roster
correctly. This got fixed now.

Fixes: #2084

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
@jubalh jubalh merged commit 98fc8b6 into master Mar 20, 2026
8 checks passed
@jubalh jubalh deleted the fix/2084 branch March 20, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow to add self user as contact and send and approve subscription reques

1 participant