converse.js icon indicating copy to clipboard operation
converse.js copied to clipboard

If set use default or locked domain when adding new contact

Open mjw4tson opened this issue 5 years ago • 5 comments

I've configured Converse.js to use a default domain when logging users in, but thought it would be useful for users to just type a username without a domain when adding their contacts.

I didn't see a configuration for this in the docs, so hopefully this could be a useful feature for others as well!

mjw4tson avatar Feb 01 '20 00:02 mjw4tson

Hello, is there a configuration option for this available?

benniledl avatar Jul 27 '22 07:07 benniledl

Yes, see docs.

licaon-kter avatar Jul 27 '22 07:07 licaon-kter

@licaon-kter I can't find that, i have locked_domain set to my domain, I've also tried default_domain but It doesn't work for adding contacts with only their name

benniledl avatar Jul 27 '22 07:07 benniledl

Ah, my bad, missed "adding" :(

There's no such option afaik.

licaon-kter avatar Jul 27 '22 07:07 licaon-kter

what?

benniledl avatar Jul 27 '22 07:07 benniledl