Closed vyonizr closed 3 years ago
You can give any name to the group, even the same name. The group ID will be different.
It is like two different users of your app have created groups name "Family".
Regarding group 124028, it was created by you using backend API from IP address "120.29.23x.xx2" and hence you have two groups.
You can give any name to the group, even the same name. The group ID will be different.
It is like two different users of your app have created groups name "Family".
The problem is it is "accidentally" created twice when createGroup
method is invoked and one of them is not found using getSortedProfiles
method.
It is because it does not have members. getSortedProfiles
will only return if the user is a member of that group. Also, we are discouraging that method now. Please use createGroup
Is it possible to see whether 124028
and 124027
were created by the same user? And how do they have very distant Expiry Date while created almost at the same time?
124028 was created by backend API - you have passed expiry here - please check your code before posting queries. Below is the parameter you have passed.
op - groupadd , flag - 0 , name - Example Group , expiry - 31536000 , expiryext - 31536000 , active - 1 , token - ,
124027 was created by some user, you must know which user.
I am closing this.
Platform: Javascript Build date: Sep 26, 2021 12:31 GMT
I implement
createGroup
method as documented on https://mesibo.com/documentation/api/real-time-api/groups/ .My code snippet:
For example, I created a group called "ExampleGroup". On the console,
GroupListener listener
only prints once with group ID124027
:But when I checked on Mesibo console, there are two groups with the same name with neighboring ID (
124028
and124027
) but very distant Expiry Date.124028
expires on Oct 17, 2021 07:18 PM while124027
expires on Sep 28, 2024 01:18 PM as shown below.On the other hand, when I called
getSortedProfiles
, only one "ExampleGroup" with group ID124027
appeared. I could not find group ID124028
.What do I need to do? And please let me know if you need more information. Thank you.