Skip to content

changing username by admin#699

Merged
engelgabriel merged 4 commits into
RocketChat:masterfrom
soonahn:admin-username-change
Sep 7, 2015
Merged

changing username by admin#699
engelgabriel merged 4 commits into
RocketChat:masterfrom
soonahn:admin-username-change

Conversation

@soonahn

@soonahn soonahn commented Sep 5, 2015

Copy link
Copy Markdown
Contributor

Addresses #698

@geekgonecrazy

Copy link
Copy Markdown
Contributor

This also looks solid. Going to test both this and #696. The underlying method hasn't been tested fully.

@engelgabriel

Copy link
Copy Markdown
Member

Guys, update the username is not that simple. You need to use the method. There are a lot of checking and references that need o be updated together, not just the users collection.

@engelgabriel

Copy link
Copy Markdown
Member

Need to call /packages/rocketchat-lib/server/methods/setUsername.coffee

@soonahn

soonahn commented Sep 5, 2015

Copy link
Copy Markdown
Contributor Author

Updated so the update method is only called once. New to meteor, didn't realise that was possible. Thanks!

@soonahn soonahn closed this Sep 5, 2015
@engelgabriel

Copy link
Copy Markdown
Member

I think this should be done, but using the right method call

@engelgabriel engelgabriel reopened this Sep 6, 2015
@soonahn

soonahn commented Sep 6, 2015

Copy link
Copy Markdown
Contributor Author

@engelgabriel fixed to use the setUsername method.

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.

3 participants