Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Bug in XMPPRoomCoreDataStorage causing duplicate messages #156

Closed
Reefaq opened this Issue Feb 13, 2013 · 4 comments

Comments

Projects
None yet
4 participants

Reefaq commented Feb 13, 2013

Just found that in XMPPRoomCoreDataStorage under method "handleIncomingMessage:room:"

it was mistakenly written "room.roomJID" instead of "room.myRoomJID" which fails the condition below it.

Due to this mistake whenever you send a message it add the message in CoreData again hence cause duplicate message.

Note: Its perfectly written in XMPPRoomHybridStorage and XMPPRoomMemoryStorage.

Owner

robbiehanson commented Apr 10, 2013

Thanks !

Hello robbiehanso,
I am stuck in date issue while send and receive XMPP message. If i have to send messages to user who is living in USA and i am in India. So how can manage exact message send date?

Kayoto1 commented Jan 6, 2016

I converted the date to the local machine date.

ya but it is impossible for different time zone. So any idea for Get UTC time from Openfire server??

@davidchiles davidchiles pushed a commit to davidchiles/XMPPFramework that referenced this issue Jan 26, 2016

@robbiehanson robbiehanson Bug fix for issue #156 : Bug in XMPPRoomCoreDataStorage causing dupli…
…cate messages
fe3e2a9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment