xmpp-messenger-ios icon indicating copy to clipboard operation
xmpp-messenger-ios copied to clipboard

Not receiving messages until send the first message.

Open edrodolfo opened this issue 9 years ago • 3 comments

Hello,

I have been working with this module and i found one issue:

If I start the demo App and try to send a message for someone everything works fine. But if I close and start the app the messages sent to me will not be received until I send the first message.

edrodolfo avatar Aug 28 '16 16:08 edrodolfo

Hello @edrodolfo did you find a solution for this issue that I can integrate it in the pod ?

baoluo avatar Oct 01 '16 15:10 baoluo

hi @baoluo seems i have this problem, for example, when im logged in by user1,every thing is good and i can send message to user2 but when logging in by user2 in OneMessage: XMPPStreamDelegate -> func xmppStream(_ sender: , didReceive message: ) when the app tries to get message sender, it generates error because there is not any user in phone DB. can u help me ? of course thx alot.

OveysSafarnejad avatar Dec 28 '18 13:12 OveysSafarnejad

i want to know is this code work correctly for you or some thing is forgotten and lost? how should i create the message sender user ?

OveysSafarnejad avatar Dec 28 '18 13:12 OveysSafarnejad