Skip to content

v4.0.24

Choose a tag to compare

@Lucky-Cometchat Lucky-Cometchat released this 08 Jun 12:57
· 7 commits to v4 since this release
b80c25a

New

  • None

Enhancements

  • Improved call event handling for 1:1 calls by correctly resolving the original call receiver for caller-notified statuses such as rejected, busy, ongoing, and ended. This ensures getCallInitiator() and getCallReceiver() return the correct participants.
  • Enhanced Call.getCallReceivedByFromData() to use the receiver information from the action payload for supported 1:1 call statuses, while maintaining backward compatibility for group calls and malformed payloads.

Fixes

  • Fixed an issue where getCallReceiver() returned the same user as getCallInitiator() for certain 1:1 call status events (rejected, busy, ongoing, and ended). This occurred when the caller received events generated by the callee, causing the receiver to be resolved incorrectly.
  • Fixed an issue where call status messages could overwrite the original message receiver information. MessageController.trasformJSONMessge() now preserves the wire-level receiver in getReceiver() for affected call statuses, ensuring receiver details remain accurate.