Skip to content

Commit

Permalink
Fix wrong url for webinar. Add logging+snackbar for onError
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Linus <[email protected]>
Signed-off-by: Marcel Hibbe <[email protected]>
  • Loading branch information
rapterjet2004 authored and mahibi committed Dec 1, 2023
1 parent 95b8ef3 commit 1efa14e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,8 @@ class ConversationInfoActivity :
}

override fun onError(e: Throwable) {
// unused atm
Log.e(TAG, "Failed to setLobbyForConversation", e)
Snackbar.make(binding.root, R.string.nc_common_error_sorry, Snackbar.LENGTH_LONG).show()
}
})
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/nextcloud/talk/utils/ApiUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public static String getUrlForRoomReadOnlyState(int version, String baseUrl, Str
}

public static String getUrlForRoomWebinaryLobby(int version, String baseUrl, String token) {
return getUrlForRoom(version, baseUrl, token) + "/webinary/lobby";
return getUrlForRoom(version, baseUrl, token) + "/webinar/lobby";
}

public static String getUrlForRoomNotificationCalls(int version, String baseUrl, String token) {
Expand Down

0 comments on commit 1efa14e

Please sign in to comment.