mattermost-plugin-bridge-xmpp/server
Felipe Martin d9c0215b93
feat: implement comprehensive loop prevention and architecture improvements
- Add comprehensive loop prevention at source level for all bridges:
  - XMPP bridge: Skip messages from own XMPP connection user
  - Mattermost bridge: Skip messages from bot user and remote users
- Remove cache from getOrCreateRemoteUser method for simplified user management
- Improve XMPP client architecture with direct handler delegation:
  - Add SetMessageHandler and GetJID methods to XMPP client
  - Move protocol normalization methods to client level
  - Implement handleIncomingXMPPMessage in XMPP bridge for business logic
- Fix message direction handling in XMPP message handler
- Add remote user invitation to shared channels via InviteRemoteToChannel API
- Clean up unused code and improve code formatting

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-06 17:16:52 +02:00
..
bridge feat: implement comprehensive loop prevention and architecture improvements 2025-08-06 17:16:52 +02:00
command feat: implement sync and sync-reset commands for shared channel management 2025-08-05 19:39:01 +02:00
config feat: restore XMPP bridge to use direct client connection instead of bridge user 2025-08-04 18:04:10 +02:00
logger feat: restore XMPP bridge to use direct client connection instead of bridge user 2025-08-04 18:04:10 +02:00
model refactor: improve XMPP client/bridge architecture separation 2025-08-06 12:31:28 +02:00
store/kvstore refactor: standardize bridge-agnostic terminology and remove unused kvstore functions 2025-08-05 12:33:19 +02:00
xmpp feat: implement comprehensive loop prevention and architecture improvements 2025-08-06 17:16:52 +02:00
.gitignore Initial commit from mattermost-plugin-starter-template 2025-07-30 13:12:52 +02:00
api.go Initial commit from mattermost-plugin-starter-template 2025-07-30 13:12:52 +02:00
configuration.go fix: prevent dangling XMPP connections during configuration updates 2025-08-04 19:04:43 +02:00
hooks_sharedchannels.go feat: implement comprehensive loop prevention and architecture improvements 2025-08-06 17:16:52 +02:00
job.go Initial commit from mattermost-plugin-starter-template 2025-07-30 13:12:52 +02:00
main.go Initial commit from mattermost-plugin-starter-template 2025-07-30 13:12:52 +02:00
plugin.go chore: register bridge id 2025-08-06 08:36:51 +02:00
plugin_test.go Initial commit from mattermost-plugin-starter-template 2025-07-30 13:12:52 +02:00