Unknown opened 5 years ago
|
|
There is an option However, if you manage roster externally then using Dynamic Rosters seems like a better idea. |
|
Hmm I updated the configuration accordingly, but still I am getting a rooster with type="subscribe" in the Tigase UI client I am receiving the popup with question to accept the contact invitation. |
|
This is because... there was an error in the documentation :-) A while back we decided to split
I just check it and it works as expected: U1 sends:
U1 recives:
U2 recives:
|
|
Hah :) thanks it worked. Should I raise a request to update documentation or that defect is enough ? |
|
It was already fixed yesterday https://github.com/tigase/tigase-server/commit/af8116e654a3cf98ba7d801499cdebfa54ca8a3b :-) |
|
Hi again :) It works fine when I am sending a stanza like you shown. However We decided to move the connecting the users to Server to be invoked at given scenarios. In our BE we are trying to send the HTTP request with proper stanza:
So I am sending a request to:
I am receiving 200, and the following happens: toUser receives rooster with subscription like in your above message, but just after that he receives also rooster but subscription is set to from instead both:
About the fromUser he receives It looks like a stanza I sent through REST is interpreted differently the one I send in the UI client. Should I know anything more about the REST call? |
|
REST requests are not processed by Due to that |
|
Hmm so how can I manage it? Can I send second stanza setting to="fromUser" ? Do you have any hints? |
|
Well, I think that sending presence stanzas to both users (so that both users would be aware of that) could be possible, but it is possible that it may not be possible if some presence sent from the account owner to the server would be required. However, if both users accounts are on your own server you could check |
|
I checked these commands and although the response returns information that operation was successful there is no change in roster list... Fortunately if I run |
Hi,
I am wondering if there is a way to make system automatically accept invitation from other users. That could be useful when you integrate the chat with your existing system that already provides authentication layer and proper relations between users based on which system can decide whether invitation should be accepted.
Eventually can 'auto accept' for a user that is not online? Or to accept the invitation the user has to be logged in?