Skip to content

Commit

Permalink
fix: remove subject from normal message
Browse files Browse the repository at this point in the history
  • Loading branch information
ZavenArra committed Mar 11, 2022
1 parent 35cbf0f commit 3099215
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/components/Messaging/MessageBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,6 @@ const MessageBody = ({ messages, messageRecipient, avatar }) => {
parent_message_id: lastMessage.id ? lastMessage.id : null,
author_handle: user.userName,
recipient_handle: messageRecipient,
subject: 'Message', //temporarily hard-coded until we know what we want
type: 'message',
body: messageContent,
};
Expand Down
1 change: 0 additions & 1 deletion src/components/Messaging/NewMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ const NewMessage = ({ openModal, handleClose }) => {
const messagePayload = {
author_handle: user.userName,
recipient_handle: recipient,
subject: 'Message',
type: 'message',
body: messageContent,
};
Expand Down
1 change: 0 additions & 1 deletion src/context/MessagingContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ export const MessagingProvider = (props) => {
const payload = {
body: '',
from: user.userName,
subject: 'Message',
to: grower.phone ? grower.phone : grower.email,
};

Expand Down

0 comments on commit 3099215

Please sign in to comment.