diff --git a/include/linphone/api/c-chat-message.h b/include/linphone/api/c-chat-message.h
index 431815c635bc722ec6c7248eb436bdce9433472d..0f473832008db36346c206172f9df1608a937b7f 100644
--- a/include/linphone/api/c-chat-message.h
+++ b/include/linphone/api/c-chat-message.h
@@ -416,9 +416,12 @@ LINPHONE_PUBLIC bool_t linphone_chat_message_is_file_transfer_in_progress (Linph
  * @param[in] msg #LinphoneChatMessage object.
  * @param[in] state The LinphoneChatMessageState the imdn have reached (only use LinphoneChatMessageStateDelivered,
  * LinphoneChatMessageStateDeliveredToUser, LinphoneChatMessageStateDisplayed and LinphoneChatMessageStateNotDelivered)
- * @return \bctbx_list{LinphoneParticipantImdnState}
+ * @return \bctbx_list{LinphoneParticipantImdnState} \onTheFlyList
  */
-LINPHONE_PUBLIC bctbx_list_t *linphone_chat_message_get_participants_by_imdn_state (const LinphoneChatMessage *msg, LinphoneChatMessageState state);
+LINPHONE_PUBLIC bctbx_list_t *linphone_chat_message_get_participants_by_imdn_state (
+	const LinphoneChatMessage *msg,
+	LinphoneChatMessageState state
+);
 
 /**
  * @}
diff --git a/src/c-wrapper/api/c-chat-message.cpp b/src/c-wrapper/api/c-chat-message.cpp
index aa260fee000ff6a0b3fa676635a349136b9c7264..3ed7781edd18cb9b0de909bb840c59efc3960561 100644
--- a/src/c-wrapper/api/c-chat-message.cpp
+++ b/src/c-wrapper/api/c-chat-message.cpp
@@ -271,7 +271,9 @@ bool_t linphone_chat_message_is_file_transfer_in_progress (LinphoneChatMessage *
 }
 
 bctbx_list_t *linphone_chat_message_get_participants_by_imdn_state (const LinphoneChatMessage *msg, LinphoneChatMessageState state) {
-	return L_GET_RESOLVED_C_LIST_FROM_CPP_LIST(L_GET_CPP_PTR_FROM_C_OBJECT(msg)->getParticipantsByImdnState(LinphonePrivate::ChatMessage::State(state)));
+	return L_GET_RESOLVED_C_LIST_FROM_CPP_LIST(
+		L_GET_CPP_PTR_FROM_C_OBJECT(msg)->getParticipantsByImdnState(LinphonePrivate::ChatMessage::State(state))
+	);
 }
 
 bool_t linphone_chat_message_download_content (LinphoneChatMessage *msg, LinphoneContent *c_content) {