Skip to content

ProtoXEP: Update explicit mentions#1511

Open
snit-guckfung wants to merge 1 commit intoxsf:masterfrom
snit-guckfung:explicit-mentions
Open

ProtoXEP: Update explicit mentions#1511
snit-guckfung wants to merge 1 commit intoxsf:masterfrom
snit-guckfung:explicit-mentions

Conversation

@snit-guckfung
Copy link
Contributor

@snit-guckfung snit-guckfung commented Mar 13, 2026

I've received mixed feedback on when I should submit changes, but I've changed a lot already, so I figure I'll submit what I have now.

Changes include:

  • mentions -> type and is now required (since we aren't using refs)
  • jid/occupantid/uri -> target for consistency
  • begin/end are now mandatory and hopefully more clear what they do
  • Deleted hreflang in favour of xml:lang
  • Deleted <noping /> since no one wanted it
  • Made active a boolean attribute since I don't see a use for any other modifiers
  • Deleted space and server mentions; they were weird and can be specified later if needed
  • Room mentions no longer get a target; always current room
  • Role/Affiliation mentions now use one type with target containing the role/affiliation
  • Permissions now use muc#roomconfig and servers MUST act based on it
  • Encourage including characters like '@' in begin/end if sent

As with the initial submission, I have an example Slixmpp plugin in Python located here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant