-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Retry clops #3800
Retry clops #3800
Conversation
Your Render PR Server URL is https://social-app-pr-3800.onrender.com. Follow its progress at https://dashboard.render.com/web/srv-cop8vn7109ks73fabtog. |
|
export function isConvoItemMessage( | ||
item: ConvoItem, | ||
): item is ConvoItem & {type: 'message'} { | ||
if (!item) return false | ||
return ( | ||
item.type === 'message' || | ||
item.type === 'deleted-message' || | ||
item.type === 'pending-message' | ||
) | ||
} | ||
|
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.
I think we want ConvoItem
to always include sender
so that we can use a single MessageItem
for rendering these. Then we can handle different logic based on the type
.
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.
Tested this with intermittent connection, works great.
No description provided.