-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Carry precompiled templates from notification pipeline
To finally support all the local notifications we need a way to send the configured template per language in the actual notification. This change compiles all templates for all messages before returning it as part of a map from the pipeline. This could certainly be improved to not do unnecessary work but would need that the channel which has the device knowledge has to know about the templates, either way could be wasteful. For now we trade cpu time for complexity.
- Loading branch information
Alexander Simmerl
committed
Apr 12, 2017
1 parent
f1af978
commit 9ef425c
Showing
3 changed files
with
106 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters