Skip to main content

odin_room_resend_user_data

enum OdinError odin_room_resend_user_data(struct OdinRoom *room);

Overview​

Flushes the local peer's user data by re-sending it to the server, ensuring that the latest data is synchronized across all connected peers.

This function does NOT need to be invoked manually. It is typically used internally by an ODIN cipher after encryption key rotations to update and maintain data consistency.

Parameters​

NameTypeDescription
roomstruct OdinRoom *The room handle.

Return Value​

TypeDescription
OdinErrorODIN_ERROR_SUCCESS on success.