zom / Zom-Android-XMPP

THIS PROJECT IS NOW CLOSED. WE HAVE MOVED TO A NEW ZOM 2.0 MATRIX CORE. FOLLOW THE LINK!
https://github.com/zom/zom-android-matrix
GNU General Public License v3.0
141 stars 64 forks source link

Contacts didn't get a new key for friend with fresh install #403

Closed cstiens closed 6 years ago

cstiens commented 6 years ago

For my friends, my key didn't auto update after I got a fresh install. In my friends list, everyone is listed with 'sorry you are blocked by the user'.

If I verify a contact, we are both able to chat. The friends I've verified are listed in my friends list and do not say that I'm blocked by them.

Samsung Galaxy Build: 15.3.2 beta 2 OS: 7.0

n8fr8 commented 6 years ago

I overhauled the login/roster/friends loading code

tiffrobo commented 6 years ago

I uninstalled the app and reinstalled the app. Logging into a previous account (created earlier today). I also, tested by unistalling and re-logging into an old account (from a few months ago) and saw the same issues. Friends list shows multiples of friends. None with 'sorry you are blocked by the user.'

If I was a friend with them prior to the new install then there are 3 variations of the contact listed:

  1. Shows pending approval
  2. Shows their JID.
  3. Shows their JID (exactly as the one above it).

screenshot_20180206-131222

Same QR codes screenshot_20180206-131214 screenshot_20180206-131206

screenshot_20180206-131147

img_774b9fc3b9d3-1

screenshot_20180206-133335 screenshot_20180206-133556

Device: Moto G play OS: Android 6.0.1

Device: Moto X OS: Android 5.1

App version: 15.4.0-beta-1

tiffrobo commented 6 years ago

Update: 'My account' view shows two identical accounts. Same QRs. Turning one to offline and one online does not affect the above issue.

screenshot_20180206-143836

screenshot_20180206-143938 screenshot_20180206-143915

n8fr8 commented 6 years ago

I've tried to disable the ability to accidentally create duplicate accounts during onboarding. I think you somehow tapped twice and that cause the dup accounts. Most of the other issues reported here were caused by the dup accounts and contacts.

tiffrobo commented 6 years ago