caTUstrophy / backend

Backend part for our catastrophe aid tool. Written in Go.
GNU General Public License v3.0
6 stars 3 forks source link

Add contact data to matching notification #85

Closed numbleroot closed 8 years ago

numbleroot commented 8 years ago

In case of a matching, add the contact data of the corresponding user to the notification message. Probably means, that an additional notification field Message is needed.

numbleroot commented 8 years ago

Okay, this changed to the following proposition: Instead of creating server-side messages which are always bad for internationalization, we instead will enrich notification responses with surrounding objects. For example, a matching notification will have its matching, offer and request object attached. At least, that's the current plan.