You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi; trying to setup an xmpp bridge (using https://github.com/ilvar/mx-puppet-xmpp). When one has multiple (in my case two) users on the same matrix homeserver / bridge setup that both which to link their xmpp accounts to their matrix account and then want to write over the xmpp bridge, it fails.
The bridge correctly creates the bridged room for user 1, but not for user 2. The logs state that the message is recieved but blocked: Found some puppet with puppetId=2. block=true.
I guess the problem is this block of code, since it contains a bug where it always uses the first available puppet, and uses that to determine if it needs to be blocked:
log.debug(`Found some puppet with puppetId=${somePuppet}. block=${block}`);
returnblock;
}
Sep-17 03:58:05.035 [NamespaceHandler] debug: In global namespace, determining if it should be blocked... puppetId=2 userId=BBBB roomId=BBBB
Sep-17 03:58:05.072 [NamespaceHandler] debug: Found some puppet with puppetId=2. block=false
...
Sep-17 04:13:11.641 [NamespaceHandler] debug: In global namespace, determining if it should be blocked... puppetId=3 userId=AAAA roomId=AAAA
Sep-17 04:13:11.645 [NamespaceHandler] debug: Found some puppet with puppetId=2. block=true
Hi; trying to setup an xmpp bridge (using https://github.com/ilvar/mx-puppet-xmpp). When one has multiple (in my case two) users on the same matrix homeserver / bridge setup that both which to link their xmpp accounts to their matrix account and then want to write over the xmpp bridge, it fails.
The bridge correctly creates the bridged room for user 1, but not for user 2. The logs state that the message is recieved but blocked:
Found some puppet with puppetId=2. block=true
.I guess the problem is this block of code, since it contains a bug where it always uses the first available puppet, and uses that to determine if it needs to be blocked:
mx-puppet-bridge/src/namespacehandler.ts
Lines 514 to 527 in 559c8e1
Notes:
More log
The text was updated successfully, but these errors were encountered: