Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow adding self as contact #1538

Closed
tyler71 opened this issue Apr 17, 2019 · 0 comments

Comments

@tyler71
Copy link

commented Apr 17, 2019

When attempting to add myself it shows this message

You cannot add yourself as a contact

Adding yourself has legitimate uses comparatively to emailing yourself. This lets you communicate information and files between your devices.
It would be great to permit this


It appears this was changed to disallow in 4.2.0

Prevent user from adding themselves as contact

Removing this in src/converse-rosterview.js returns that functionality:

                } else if (Strophe.getBareJidFromJid(jid) === _converse.bare_jid) {
                    el.textContent = __('You cannot add yourself as a contact')
                    u.addClass('d-block', el);
                    return false;

@jcbrand jcbrand added the Feature label May 9, 2019

@jcbrand jcbrand added this to the 5.0.0 milestone Jun 19, 2019

@jcbrand jcbrand closed this in 7455ce1 Jun 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.