ChatSecure / ChatSecure-iOS

ChatSecure is a free and open source encrypted chat client for iOS that supports OTR and OMEMO encryption over XMPP.
https://chatsecure.org
Other
3.13k stars 1.02k forks source link

Duplicated messages with media links #821

Open vitalyster opened 7 years ago

vitalyster commented 7 years ago

When chatsecure want to display media preview for me, it duplicate message in chat - with and without preview. And also I receive 2 push notifications

chrisballinger commented 7 years ago

There's some code that is supposed to hide the duplicate, but I guess it's not working properly. Are these aesgcm or https links? Are they send via OMEMO or plaintext?

vitalyster commented 7 years ago

I have tested plaintext messages only

chrisballinger commented 7 years ago

That may be the issue. It needs the oob tag I think..? I'll take a look

On Thu, Jul 27, 2017 at 11:10 AM, vitalyster notifications@github.com wrote:

I have tested plaintext messages only

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ChatSecure/ChatSecure-iOS/issues/821#issuecomment-318442259, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfqH8YGnzjyGv2TzWKql2qst93O_sMAks5sSNKigaJpZM4OloCF .

vitalyster commented 7 years ago

Duplicated messages are sent from other users/apps and just contain link in the body, you can not add any tag there :)