Skip to content
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

moved the part where the user agent is set to constructRequest function #2

Open
wants to merge 1 commit into
base: work
Choose a base branch
from

Conversation

imolein
Copy link

@imolein imolein commented Jul 25, 2022

I'm not a Go programmer and I don't have the environment to test this, but from my understanding of the code and the fact that I see on my zulip server that matterbridge is only setting the user-agent on subscription requests, I moved the user-agent part into the constructRequest function. Then the user-agent should be correctly set on every request to zulip.

I hope my assumption is correct :)

@imolein imolein changed the title moved the part where the user agent is set in constructRequest function moved the part where the user agent is set to constructRequest function Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant