ref: standardize nickname->jid autocomplete and autoconvertion in cmd_defs #164

Open
opened 2026-07-09 13:45:23 +00:00 by jabber.developer · 0 comments

/msg has this feature:

    const char* usr = args[0];

    const char* barejid = roster_barejid_from_name(usr);
    if (barejid == NULL) {
        barejid = usr;
    }

It greatly simplifies interactions, as it doesn't require to memorize all the JIDs, when nicknames suffice.

/caps, /disco info and many other commands lack this feature.

`/msg` has this feature: ```c const char* usr = args[0]; const char* barejid = roster_barejid_from_name(usr); if (barejid == NULL) { barejid = usr; } ``` It greatly simplifies interactions, as it doesn't require to memorize all the JIDs, when nicknames suffice. `/caps`, `/disco info` and many other commands lack this feature.
jabber.developer added the
Kind/Enhancement
Priority
Medium
3
labels 2026-07-09 13:45:41 +00:00
jabber.developer added this to the Plans (2025-2026) project 2026-07-11 21:40:06 +00:00
jabber.developer moved this to Verification in Plans (2025-2026) on 2026-07-11 21:40:15 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: devs/cproof#164
No description provided.