[FIX] Revert removed function

Co-authored-by: Bruno Dantas <oliveiradantas96@gmail.com>
Co-authored-by: Calebe Rios <calebersmendes@gmail.com>
This commit is contained in:
Djorkaeff Alexandre 2020-04-02 13:31:19 -03:00
parent 4004d4f2f1
commit d04626f792
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class ServerDropdown extends Component {
const {
server: currentServer, selectServerRequest, navigation, split
} = this.props;
this.close();
if (currentServer !== server) {
const userId = await RNUserDefaults.get(`${ RocketChat.TOKEN_KEY }-${ server }`);
if (split) {