cometchat / cometchat-uikit-android

Ready-to-use Chat UI Components for Android
https://www.cometchat.com
44 stars 26 forks source link

Search on conversation list when there's a custom categories text as last message. #1

Closed james8885 closed 4 years ago

james8885 commented 4 years ago

Describe the problem

When there's a last message (custom categories message) in the conversation list and user did a search. The application crash.

What was the expected behavior?

It will be able to filter without crashing.

Reproduction

Step 1: Send a custom categories message. Step 2: Open the app and do a search on the conversation list. After this the program crashes.

Environment

Productions

darshanbhanushali commented 4 years ago

Hi @james8885 ,

Please check our latest UI Kit v2.0.2, we have fixed this issue by adding a check for TEXT_MESSAGE Type in Filterable method of ConversationAdapter class.