mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 05:06:51 +00:00
Update changelog
This commit is contained in:
committed by
Michal Horejsek
parent
8a7b4bb919
commit
f73aeec97f
@ -3,6 +3,7 @@
|
|||||||
Changelog [format](http://keepachangelog.com/en/1.0.0/)
|
Changelog [format](http://keepachangelog.com/en/1.0.0/)
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
* GODT-511 User agent format changed.
|
||||||
|
|
||||||
## [IE 0.2.x] Congo
|
## [IE 0.2.x] Congo
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
// removeBrackets handle unwanted brackets in client identification string and join with given joinBy parameter
|
// removeBrackets handle unwanted brackets in client identification string and join with given joinBy parameter.
|
||||||
// Mac OS X Mail/13.0 (3601.0.4) -> Mac OS X Mail/13.0-3601.0.4 (joinBy = "-")
|
// Mac OS X Mail/13.0 (3601.0.4) -> Mac OS X Mail/13.0-3601.0.4 (joinBy = "-")
|
||||||
func removeBrackets(s string, joinBy string) (r string) {
|
func removeBrackets(s string, joinBy string) (r string) {
|
||||||
r = strings.ReplaceAll(s, " (", joinBy)
|
r = strings.ReplaceAll(s, " (", joinBy)
|
||||||
|
|||||||
Reference in New Issue
Block a user