Milan Gadoya
Milan Gadoya

Reputation: 1

Identify user with a specific information

How to identify an user with specific information like unique id or reference number in ejabberd API for chat?

I want to chat with someone then user has some information except name which is unique for that specific user. so we can identify the user in chat based on that?

on register user while calling /api/register API, there is no any unique response which is useful to make chat with another user

Even, /api/registered_users given only name of all the registered users, not any unique information

So, what is the solution? any other APIs is there for the same or what?

Upvotes: 0

Views: 57

Answers (1)

Badlop
Badlop

Reputation: 4120

A user (that may be a person, or a machine, or an animal) can register an account in ejabberd (or any other server). That account is identified by the account username and host, for example [email protected].

The user uses an account, and the account is identified by the account username and host.

There is nothing else. What else could there be?

Upvotes: 0

Related Questions