HashtagSell / posting-api

API for storage and retrieval of posting details for Hashtagsell
0 stars 0 forks source link

[Help Needed] All offer acceptance emails going to seller only #88

Closed that1guy closed 8 years ago

that1guy commented 8 years ago

Since buyers and sellers can "ping pong" offers back in forth as counter proposals we need to send offer acceptance email to the correct party. Today all offer acceptance emails are going to seller only.

brozeph commented 8 years ago

For reference:

Both of the above areas in the code required change to address this - now keying off of the offer.proposal.isOwnerReply value.

What I missed here is that the posting-api always emits offer-update events with the buyer as the username value, which is technically incorrect. Changing this would have deeper repercussions, however... and for the purposes of the notification-svc, the newly introduced changes are a positive decoupling.

brozeph commented 8 years ago

Assigning to @that1guy for verification

that1guy commented 8 years ago

Offer acceptance emails are only going to one party still. I'll be taking a look at this tomorrow eve.