O problema era que a listagem de rooms passado para os componentes estava incompleto.
Por exemplo, se vc scrollasse ou fizesse uma pesquisa no filtro de groups a paginação seria aplicada no filtro atual e ficaria com mais resultados do que o filtro default.
Ao clicar nesse room (que estava paginado no filtro groupRoomsCasted, mas não em roomCasted) as informações desse room era buscado de roomsCasted o qual não continha o room recentemente carregado, fazendo com que os componentes roomFooter e roomHeader que precisavam dessa info não funcionassem corretamente (ficavam ou escondidos ou em brancos).
Como testar
Pesquisar por uma conversa em grupo antiga e tentar abrir ela, agora deve abrir corretamente e todas as informações e ações devem ser exibidas.
Resolve:
Descrição:
rooms
passado para os componentes estava incompleto.groups
a paginação seria aplicada no filtro atual e ficaria com mais resultados do que o filtrodefault
.groupRoomsCasted
, mas não emroomCasted
) as informações desse room era buscado deroomsCasted
o qual não continha o room recentemente carregado, fazendo com que os componentesroomFooter
eroomHeader
que precisavam dessa info não funcionassem corretamente (ficavam ou escondidos ou em brancos).Como testar
Fix: https://github.com/optidatacloud/optiwork-chat/issues/967