snikket-im / snikket-ios

Snikket iOS client
https://snikket.org/app/ios/
GNU General Public License v3.0
72 stars 10 forks source link

Messages not showing on new conversations #194

Open HypoLuxa opened 2 years ago

HypoLuxa commented 2 years ago

Describe the bug Message not showing when there are no previous messages from sender, though there is a notification of a message

To Reproduce

  1. Snikket installed on iOS
  2. Notifications enabled (I only have badges enabled)
  3. Receive a message from a new sender who you have not received from before (no previous message from sender in 'chats' tab)
  4. Badge shows new message
  5. There is no new message in 'chats' tab
  6. Badge gets stuck showing new notification

Screenshots Unfortunately nothing to show since there is no message visible

Software versions:

If your problem involves communication with people using other apps/platforms, please include details of their app and versions also when possible.

Additional context As far as i know this happens in the chats tab, I have not received voice calls, it may happen, but I am not aware. This is not from other xmpp users that I am aware, this would be from conventional sms numbers.

To fix, I had to use a different client to see who the message was from and add that contact to my contacts and start a chat with that user and the message would show and badge would disappear

Thank you, am willing to troubleshoot.

mwild1 commented 2 years ago

Thanks for the details! Is your account on a Snikket server, or a different (non-Snikket) XMPP service?

HypoLuxa commented 2 years ago

on a service, I think I mentioned in the issue its jmp.chat

thanks for being so responsive

glward commented 2 years ago

I’ve seen this as well, as have a few folks with Siskin: tigase/siskin-im#146

In my case I’m using Snikket as my XMPP host, but I’m also using JMP.chat. I suspect this is going to be mostly reported by people using JMP.chat since “receiving messages from people not in your roster” is pretty uncommon, but “getting SMS messages from random numbers” is quite common.

I’ve seen this with iOS and iPadOS, running the latest Snikket server and app (1.2).

Other apps (Monal on iOS/iPadOS/macOS, Cheogram and Conversations on Android, Dino on Linux) have no issues here — it’s something with Siskin/Snikket iOS.

I have seen it work if I get a message while the app is open, but even that is not consistent.

fjrider commented 1 year ago

I am also seeing this "phantom" notification issue, following and hoping for a resolution:

Snikket Version 1.2, Build: 10 iOS Version: 16.4.1 (20E252) iPhone Model: SE 2 (2020) Using a snikket.chat account, but with the jpm.chat service.

Willing to try things out with Snikket team to hopefully find a workaround or fix soon.

mwild1 commented 1 year ago

Thanks for the additional information!

I have a potential fix locally that I'm aiming to publish to the beta builds soon for testing. I'll let you know when it's available (unfortunately I need to replace my Mac before I can upload any more builds :slightly_frowning_face: ).

fjrider commented 1 year ago

Any update on this?

Any way I could help tinker or test?

acontext commented 11 months ago

Hi, I am having this problem and it is the main thing preventing me from adopting JMP.chat w/ Snikket. Happy to help resolve it if I can be of use. @mwild1 you mention a potential local fix. Anything come of that?

HypoLuxa commented 11 months ago

Yeah I’m the one who opened this 18 months ago, because of this bug I’ve abandoned jump.chat/xmpp totally. Unfortunate.

mwild1 commented 7 months ago

I'm curious if anyone is still experiencing this in the latest app store release (1.2.1) with the latest Snikket server (February). Both included fixes for bugs that could have contributed to the behaviour described by reporters here.

glward commented 7 months ago

Just did a quick test, with 1.2.1 build 12 (TestFlight)... and discovered I never updated the docker tag from beta -> stable on my server, whoops, but it let me test:

Server stable.20240115: did not work Server stable.20240221: did work

So maybe it's fixed?

glward commented 7 months ago

Nope, still not fixed. Just got a message notification but no message shows up in the chats list, same behavior as before.