-
Notifications
You must be signed in to change notification settings - Fork 12
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
[AC-2362] fix: Allow welcome messages to be displayed even when no messages in channel #221
Conversation
lastWelcomeMessageCreatedAt ?? firstMessageCreatedAt; | ||
if (isWelcomeMessagesGiven && prevMessageTimestamp) { | ||
hasSeparator = !isSameDay(message.createdAt, prevMessageTimestamp); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hasSeparator logic is for deciding whether to add data separator or not (above message)
0ee639b
to
b6bbe5b
Compare
31893db
to
b3ccac3
Compare
packages/uikit
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
서브모듈 감좀 잡히시나요?ㅎㅎ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
조금요 이제 알아가는중입니다 ㅎㅎ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Co-authored-by: Hyungu Kang | Airen <gusrn1423@naver.com>
Co-authored-by: Hyungu Kang | Airen <gusrn1423@naver.com>
Co-authored-by: Hyungu Kang | Airen <gusrn1423@naver.com>
Co-authored-by: Hyungu Kang | Airen <gusrn1423@naver.com>
Co-authored-by: Hyungu Kang | Airen <gusrn1423@naver.com>
a41d5ea
to
e074b06
Compare
What changed?
Before
After
Changelog
Ticket
https://sendbird.atlassian.net/browse/AC-2362