Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE/#311] 채팅 읽음처리 #316

Merged
merged 1 commit into from
Dec 5, 2023
Merged

[BE/#311] 채팅 읽음처리 #316

merged 1 commit into from
Dec 5, 2023

Conversation

namewhat99
Copy link
Collaborator

이슈

체크리스트

  • 소켓 입장하면 상대방에서 접속했다 메시지
  • 채팅 내역 보내기전에 읽음 처리

@namewhat99 namewhat99 added BE BE 관련 chatting 채팅 labels Dec 5, 2023
@namewhat99 namewhat99 requested a review from koomin1227 December 5, 2023 07:17
@namewhat99 namewhat99 self-assigned this Dec 5, 2023
const chat = new ChatEntity();
chat.sender = message.sender;
chat.message = message.message;
chat.chat_room = message.room_id;
chat.is_read = is_read;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

좋습니다!

});
}
client.send(JSON.stringify({ sent: true }));
client.send(
JSON.stringify({ event: 'send-message', data: { sent: true } }),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

뭔가 메시지 성격이 달라서 바꾸면 좋을 것 같긴한데 클라리언트가 좋다고 하면 그냥 가죠

@koomin1227 koomin1227 merged commit 105d80f into BE Dec 5, 2023
1 check passed
@koomin1227 koomin1227 deleted the BE-readChat-#311 branch December 5, 2023 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BE BE 관련 chatting 채팅
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants