Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no response for xiphias messages #129

Open
FordTaunus opened this issue Sep 7, 2019 · 6 comments
Open

no response for xiphias messages #129

FordTaunus opened this issue Sep 7, 2019 · 6 comments
Labels

Comments

@FordTaunus
Copy link

Hi, I'd like to use the xiphias_get_users command, but there is no response triggering the on_xiphias_get_users_response. Is this still a work in progress or is it me doing something wrong?

@tomer8007
Copy link
Owner

tomer8007 commented Sep 7, 2019

Is the method XiphiasHandler.handle getting called? Do you receive an XMPP element with the kik:iq:xiphias:bridge XMLNS?

@Jaapp- Do you have any idea?

@FordTaunus
Copy link
Author

XiphiasHandler.handler does not get called.

@tomer8007 tomer8007 added the bug label Sep 18, 2019
@tomer8007 tomer8007 changed the title xiphias messages xiphias messages - no response Aug 5, 2020
@tomer8007 tomer8007 changed the title xiphias messages - no response no response for xiphias messages Aug 5, 2020
@QtpyeRose
Copy link

the code

def on_xiphias_get_users_response(self, response: Union[UsersResponse, UsersByAliasResponse]):
        print(response.users)

makes the program print [] (an empty object) I don't think the user objects are being added to the users array or being generated correctly in some way.

@tomer8007
Copy link
Owner

@aspwil So for you on_xiphias_get_users_response is gettings called, just with an empty users, right? That's at least better than @FordTaunus 's case.

@PointlessUser
Copy link
Contributor

I get no response from one specific user. I'm not sure why

@bluemods
Copy link
Contributor

bluemods commented Dec 5, 2023

I get no response from one specific user. I'm not sure why

Some users don't have any xiphias entity data associated with them. It manifests in the UI on the mobile apps as not showing a days on Kik, known as "no-day accounts". It is another quirk of Kik you have to handle.
I usually do a peer info request (friend batch) since jids retrieved this way are always present. So if the xiphias profile data is missing or fails, we still have the basic account info to work with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants