Sepulchre49 / instant-messenger

An instant messenger application built in Java
0 stars 5 forks source link

Conversations don't populate if another user creates a conversation while recipient is logged in. #32

Closed Sepulchre49 closed 5 months ago

Sepulchre49 commented 5 months ago

If I (user a) am logged in, and user b creates a new conversation with me as a recipient, this conversation will not be added to my ConversationView. I think the fix here will be to broadcast CREATE_CONVERSATION success messages to all recipients, and update the conversation list on the client side when one of these messages is read. This should also detect if the ConversationView is active, and if so, it should update the convModel to trigger a repaint.