MM-23547: remove redundant JSON parsing in push notifications (#14181)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b8eb69281b
Коммит
583daeb132
@@ -74,6 +74,11 @@ func (me *PushNotification) ToJson() string {
|
||||
return string(b)
|
||||
}
|
||||
|
||||
func (me *PushNotification) DeepCopy() *PushNotification {
|
||||
copy := *me
|
||||
return ©
|
||||
}
|
||||
|
||||
func (me *PushNotification) SetDeviceIdAndPlatform(deviceId string) {
|
||||
|
||||
index := strings.Index(deviceId, ":")
|
||||
|
||||
Ссылка в новой задаче
Block a user