QuickBlox / quickblox-ios-sdk

QuickBlox iOS SDK for messaging and video calling
https://quickblox.com/developers/IOS
MIT License
397 stars 358 forks source link

Sending message in deleted dialog creates and new dialog #1295

Closed pooja1bhatia closed 2 years ago

pooja1bhatia commented 2 years ago

New Issue Checklist

Environment details

Info Value
iOS Version e.g. 14.0
Quickblox iOS SDK version e.g. 2.7.10
Xcode Version e.g. Xcode 12.5.1
Repro with our demo sample e.g. does it happen with our demo sample?

Did this work before? No

Expected behavior

If in private chat either one user deletes a dialog, then the other user should receive a delegate for the success of the delete dialog or if an opponent sends a message in a deleted dialog then it should not create a new dialog on both ends.

Actual behavior

In private chat, on delete dialog from one side,deletes dialog for both users. But the opponent doesn't get any ping for the delete dialog. If one user is on chat screen and other user deletes dialog then that dialog deleted successfully and updates UI on sender side (who deleted dialog) but if other user is on chat screen and on the same time he sent message in same dialog then message sent successfully and it automatically creates new dialog.

Logs

Please use the following template for logs:

To enable full logs use the following code:

[QBSettings setLogLevel:QBLogLevelDebug];
[QBSettings enableXMPPLogging];
Title for logs ```logos // Your logs here ```

Steps to reproduce the behavior

Any others comments

ghost commented 2 years ago

Hello Pooja.

Thank you for contacting QuickBlox Customer Support department.

In order to start the investigation of the reported case QuickBlox Development team needs the following points.

  1. Could you try to reproduce the reported behavior using a clear QuickBlox IOS Chat sample URL: https://docs.quickblox.com/docs/ios-quick-start#chat-samples and let us know about a result there.
  2. Collect the full logs from the application launching till the issue occurs in .txt format file where the developers could observe the described behavior (error) using the following method, URL: https://docs.quickblox.com/docs/ios-setup#enable-logging

Looking forward to your reply with the requested points.

ghost commented 2 years ago

@pooja1bhatia The issue is being closed as outdated.

If it is still relevant, feel free to open a new issue.