Closed or-else closed 5 years ago
Were you logged in as alice?
Yes, as Alice.
Acknowledged. Will look into it tomorrow.
There was a similar problem on Android: some users exist in the contacts database, but some only exist as P2P conversations, like Tino.
I tried to reproduce the problem today but couldn't: the contacts lists were identical on Android and iOS. Was there anything special with your setup?
Does not seem to be anything special. Here is Android and iOS running off the same server at the same time:
Okay. I cannot reproduce this with my local setup for some reason. Are you using a remote server? Or a locally built one? I've been using the docker image.
I'm building the server from source. Let me see if if I can come up with steps to reproduce.
I'm still busy with tindroid/#38
Don't worry about it then. I'll build from source too. I'll need to build the server from source soon anyway for adding push notifications.
Just hit it again: user Xena
is present in contacts but does not appear in Find
Humm.. Still can't reproduce. Is it reproducible for you? The local contacts list is read from Users table - if something's missing, we somehow fail to store a contact in the table. I'll reexamine the codepaths writing to the table.
Here are steps to reproduce:
Go to FindView, enter [basic:xena] in the search field, tap on Xena in Directory. Go to ChatList, see Xena there. Go to FindView and see that Xena is not there.
Thanks! https://github.com/tinode/ios/commit/c3a649b5e7d0e3b0d4d532a95d73a30272f08c74 should take care of it. I'm going to keep this issue open for now in case we see this behavior again.
Looks like it's fixed.
iOS client shows just 4 results in Find and New Group members views while Android shows 6:
https://github.com/tinode/tindroid/blob/master/android-find-people.png https://github.com/tinode/tindroid/blob/master/android-new-topic.png