robbiehanson / XMPPFramework

An XMPP Framework in Objective-C for Mac and iOS
Other
5.91k stars 2.09k forks source link

The message sent by the server contains special characters "&" #1181

Open yccbcc opened 4 years ago

yccbcc commented 4 years ago

The message sent by the server contains the special character "&". Now after starting the program, it will continue: authentication succeeded -> receiving message -> lost link -> reconnect -> authentication succeeded ->... I think it is because, first, the xmpp login is successful, and the server sends an offline message. After the app receives the message, the parsing fails, and the receipt message is not sent to the server. As a result, the server sends this message every time after the xmpp authentication succeeds. . This is an endless loop. The above are my thoughts. Is there any way to handle it on the app side? Or do I need to handle it on the server side?

zhangfurun commented 1 year ago

i miss too, so my service auto fix after send message, but, client do not receive message. do you have any method to fix this error now?