Skip to content

Changed saveServerIcon() to not use request() on defaultIconUrl #627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Changed saveServerIcon() to not use request() on defaultIconUrl #627

wants to merge 3 commits into from

Conversation

Swapnilr1
Copy link
Collaborator

@Swapnilr1 Swapnilr1 commented Jan 14, 2019


What's this PR do?
Fixes https://github.com/zulip/zulip-electron/issues/533

Any background context you want to provide?

Screenshots?

You have tested this PR on:

  • Windows
  • Linux/Ubuntu
  • macOS

Copy link
Collaborator

@abhigyank abhigyank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akashnimare This looks good to me and works as expected, could be merged.
Though the issue itself is not much of a problem to us now cause we fallback to the initial character of the realm, but this would now correctly prevent the error from propping up.

@Swapnilr1
Copy link
Collaborator Author

Swapnilr1 commented Jan 29, 2019

I made a mistake while squashing the commits together, so this is 2 commits instead of 1. I hope this is fine. @akashnimare Could you review this?

context-menu: Fix context menu indexing.

Addresses a problem where the context menu would get the incorrect index
of server in sidebar and cause a crash when attempting to remove the
server.

Add comment justifying extra index parameter.
@zulipbot zulipbot added size: XL and removed size: M labels Feb 2, 2019
@zulipbot zulipbot added size: L and removed size: XL labels Feb 2, 2019
@Swapnilr1
Copy link
Collaborator Author

Please discard this. I will open up a new PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants