Class ChannelListReadReceiptHandler
-
- All Implemented Interfaces:
public class ChannelListReadReceiptHandlerChannel list read receipt handler
Handles V5 read receipts, multi-device read status synchronization, and message editing.
- Since:
5.10.4
-
-
Field Summary
Fields Modifier and Type Field Description public final static DataKey<ChannelIdentifier>KEY_SYNC_READ_STATUSpublic final static DataKey<HashMap<String, ReadReceiptInfo>>KEY_READ_RECEIPT_V5_UPDATEpublic final static DataKey<Boolean>KEY_MESSAGE_MODIFIED
-
Constructor Summary
Constructors Constructor Description ChannelListReadReceiptHandler()
-
Method Summary
Modifier and Type Method Description voidcollectAndQueryReadReceiptInfo(List<BaseUiChannel> uiConversationList)Collects messages in the channel list that require V5 read receipt queries and initiates the query static booleanisIdentifierMatched(ChannelIdentifier id1, ChannelIdentifier id2)Checks whether two ChannelIdentifiers match voidstop()-
-
Method Detail
-
collectAndQueryReadReceiptInfo
void collectAndQueryReadReceiptInfo(List<BaseUiChannel> uiConversationList)
Collects messages in the channel list that require V5 read receipt queries and initiates the query
- Parameters:
uiConversationList- the current channel list
-
isIdentifierMatched
static boolean isIdentifierMatched(ChannelIdentifier id1, ChannelIdentifier id2)
Checks whether two ChannelIdentifiers match
-
stop
void stop()
-
-
-
-