[MM-16232] ID loaded push notifications (#13137)
* Update BuildPushNotificationMessage (#12974) * Update BuildPushNotificationMessage * Included Category, Version, and Type * Remove unnecessary function args * [MM-16232] Build and return fetched notification (#13085) * Build and return fetched notification * Remove check on PushNotificationContents * Ran i18n-extract * Get UserId from session * Re-add ReturnStatusOK * Remove UserId from PushNotificationAck * Always include channel name * [MM-16232] Return after writing response and add default message (#13127) * Return after writing response and add default message * Include channel ID as well * Localize default message * Fix i18n
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
2571d97723
Коммит
d44d563ef3
@@ -1274,7 +1274,7 @@ func TestPostNotificationGetChannelName(t *testing.T) {
|
||||
},
|
||||
} {
|
||||
t.Run(name, func(t *testing.T) {
|
||||
notification := &postNotification{
|
||||
notification := &PostNotification{
|
||||
channel: testCase.channel,
|
||||
sender: sender,
|
||||
profileMap: profileMap,
|
||||
@@ -1359,7 +1359,7 @@ func TestPostNotificationGetSenderName(t *testing.T) {
|
||||
post = testCase.post
|
||||
}
|
||||
|
||||
notification := &postNotification{
|
||||
notification := &PostNotification{
|
||||
channel: channel,
|
||||
post: post,
|
||||
sender: sender,
|
||||
|
||||
Ссылка в новой задаче
Block a user