Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit f4ed2c6

Browse files
nitish1211Sam1301
authored andcommitted
Remove "/api" from server url after logout.
1 parent 5a446e4 commit f4ed2c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/zulip/android/activities/ZulipActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2123,7 +2123,7 @@ private void setNightMode(@AppCompatDelegate.NightMode int nightMode) {
21232123
private void logout() {
21242124
commonProgressDialog.showWithMessage(getString(R.string.logging_out));
21252125
this.logged_in = false;
2126-
final String serverUrl = app.getServerURI();
2126+
final String serverUrl = app.getServerHostUri() ;
21272127

21282128
notifications.logOut(new Runnable() {
21292129
public void run() {

0 commit comments

Comments
 (0)