docs: note copy-nickname includes the #suffix

Roster display names carry the short discriminator; pasting that form
keeps /msg targets unambiguous.
This commit is contained in:
Taksh 2026-08-01 14:12:38 +03:00
parent a070343371
commit 336fa4e58f

View File

@ -14,6 +14,9 @@ import AppKit
#endif
/// Pasteboard writes for people-sheet nickname / display-name copy actions.
///
/// Callers pass the full `displayName` (including any `#abcd` suffix) so a
/// pasted `/msg` target matches what the roster shows.
enum NicknameClipboard {
static func copy(_ string: String) {
#if os(iOS)