mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-16 07:06:45 +00:00
Update changelog
This commit is contained in:
committed by
Michal Horejsek
parent
8a7b4bb919
commit
f73aeec97f
@ -23,7 +23,7 @@ import (
|
||||
"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 = "-")
|
||||
func removeBrackets(s string, joinBy string) (r string) {
|
||||
r = strings.ReplaceAll(s, " (", joinBy)
|
||||
|
||||
Reference in New Issue
Block a user