MM-24386/MM-24465 Enable link previews and full push notifications by default (#14565)

* MM-24386 Update default push notification contents to full

* MM-24465 Enable link previews by default

* Fix a unit test relying on the old default
Этот коммит содержится в:
Harrison Healey
2020-05-20 09:23:13 -04:00
коммит произвёл GitHub
родитель aad76a13e8
Коммит f62493145a
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@@ -1296,6 +1296,7 @@ func TestAllPushNotifications(t *testing.T) {
defer pushServer.Close()
th.App.UpdateConfig(func(cfg *model.Config) {
*cfg.EmailSettings.PushNotificationContents = model.GENERIC_NOTIFICATION
*cfg.EmailSettings.PushNotificationServer = pushServer.URL
})