emersion / hydroxide

A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge
MIT License
1.63k stars 126 forks source link

Update protonmail.go #254

Closed AvalancheBreakdown closed 1 year ago

AvalancheBreakdown commented 1 year ago

fix #252 by adding;

req.Header.Set("x-pm-appversion", "Other")

on line 123. Tested and fixed the issue on my system

emersion commented 1 year ago

This is already set in https://github.com/emersion/hydroxide/blob/d18edadd05fedcd5457a144d1c60f8e5d8ae371b/protonmail/protonmail.go#L92

emersion commented 1 year ago

Fixed up and merged.