matrix-org / matrix-org/matrix-bifrost

issues mapping libpurple xmpp to matrix

Open
#27 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

prpl-jabber
Dominant language
TypeScript
Stars
187
Forks
38
PR merge metrics
No merged PRs in 30d

Description

Let's assume that I have added purple xmpp account with JID pvagner@puppeting.xmpp .
I have used
```
accounts map-existing xmpp pvagner@puppeting.xmpp
```
Thus it should be correctly mapped to my matrix account for future bridging.

When I receive a new XMPP message on said account, the bridge prints this into the log:
```
(18:51:37) jabber: Recv (ssl)(228):
(18:51:39) jabber: Recv (ssl)(245): error 1
(18:51:39) prefs: purple_prefs_get_bool: Unknown pref /purple/logging/log_ims
(18:51:39) jabber: Recv (ssl)(225):
Jan-2 18:51:39.575 ERROR Store Could not find an account for prpl-jabber://pvagner@puppeting.xmpp/. Either the accountis not assigned to a matrix user, or we have hit a bug.
```

I can partially workaround this by adding slash to the end of my JID inside the file user-store.db manually however I'm afraid it might break something else.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the mapping with `accounts map-existing xmpp pvagner@puppeting.xmpp` and inspect the Store lookup reported in the log, along with the corresponding entry in `user-store.db`. Done means an incoming XMPP message resolves the mapped Matrix account without manually changing the stored JID.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.