Browse SDKs · iOS
SDKsiOS

Reset group-mention state

Reset a conversation’s group-mention state to normal with OpenIM iOS SDK.

Copy

After the user has handled the @ mentions in a group chat, reset that conversation's groupAtType:

[[OIMManager manager] resetConversationGroupAtType:conversationID
                                         onSuccess:nil
                                         onFailure:nil];

Group-mention state and message read state are separate. A successful callback, arrival of onConversationChanged:, and a reconciliation query are three distinct stages. Query the conversation again when the state must be confirmed immediately.