Default message properties are included in the message context.

It worked in a slightly weird way: properties such as program_name
were added to the context after it was injected to the template.

This change introduces getDefaultMessageProperties which is used
to initialize the context which is subsequently passed to the
template.

There is a TODO for connectionMessageContext. It is not a big deal
because this function is not used now.

Also, 'notification_settings_url' is included in the default
properties.

Change-Id: Id4bfacb97f3671fb05f9fedc27103c294c754923
1 file changed