Skip to content

Commit

Permalink
fix: fixes the import of the serverInfo function (RocketChat#5295)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlsilva authored Oct 25, 2023
1 parent 5175696 commit 13af95f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/sagas/deepLinking.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { loginRequest } from '../actions/login';
import log from '../lib/methods/helpers/log';
import { RootEnum } from '../definitions';
import { CURRENT_SERVER, TOKEN_KEY } from '../lib/constants';
import { callJitsi, callJitsiWithoutServer, canOpenRoom } from '../lib/methods';
import { callJitsi, callJitsiWithoutServer, canOpenRoom, getServerInfo } from '../lib/methods';
import { Services } from '../lib/services';

const roomTypes = {
Expand Down Expand Up @@ -163,7 +163,7 @@ const handleOpen = function* handleOpen({ params }) {
// do nothing?
}
// if deep link is from a different server
const result = yield Services.getServerInfo(host);
const result = yield getServerInfo(host);
if (!result.success) {
// Fallback to prevent the app from being stuck on splash screen
yield fallbackNavigation();
Expand Down

0 comments on commit 13af95f

Please sign in to comment.