wojciech.kapcia@tigase.net opened 4 years ago
|
|
@wojtek From what I can see, we have 3 messages:
The question is why MUC sent 2 messages. It looks like it thinks that you have joined MIX via MUC 2 times. How many cluster nodes were up at this time? Is it possible that you were joined/connected twice to 2 different nodes (even if you joined from a single resource)? |
|
Hmm... OK, "my bad". I'll share more details below.
3 - this is our tigase.im installation
No, but… I was trying to create MIX/MUC room on tigase.im so I used my wojtek@tigase.im account in beagle to create channel and then decided to use Psi to check if MUC compatibility would work... and I used same wojtek@tigase.im account (so I was indeed receiving MIX and MUC messages). However, the multiplication of the messages still happens - I joined in Psi using different account and I still get two copies:
I'm somewhat weary about receiving MIX and MUC messages at the same time (if someone uses Beagle and Conversation for example) |
|
After short discussion we were able to prove that this is happening only when user is "local" and not remote. Most likely this is caused by the code from ACS-MIX. |
|
I've applied changes to the logic which should fix this issue. @wojtek could you review my changes? (in ACS-MIX) |
|
Seems that the issue re-surfaced:
|
|
There was still an issue with MIX-MUC & MAM integration with Conversations which is sending If this will not help, I'll modify permission checking for accessing the MAM archive in MIX to allow access to anyone who can join the channel (but that would be a workaround as according to default MIX channel configuration, only existing participants should be able to fetch MIX channel history). |
|
Seems to work better. Thank you! |
|
Currently if I join from two clients (Psi and Beagle) and send message from Psi I get double messages (with somewhat odd addressing)
Message send from Beagle also generate two messages (in Psi via MUC):
|
|
@wojtek This is correct. That is how it works. MUC sends messages to full JID and MIX to the bare JID. There is nothing we can do about it except recommending to join with MIX or MUC but never with both. As Psi joins with MUC it receives MIX messages (due to bare jid routing) and MUC messages as it joined with MUC. That behavior is correct. |
Type |
Bug
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.2.0
|
Spent time |
1h 45m
|
Sending single message to MIX (either from MIX capable or MUC client like Psi) causes 3 messages to appear: