No description
  • Go 99.8%
  • PLpgSQL 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Z.ai Agent 83d7ddfac5
Some checks failed
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
Add SharedLoginNetwork support for single-login networks
Optional bridgev2 interface for networks where one provisioned
server-side connection (e.g. an XMPP component or a relaybot account
from the connector config) serves all Matrix users, so users without
their own login can still chat.

- SharedLoginNetwork.GetSharedLogin is consulted in
  Portal.FindPreferredLogin before the relay fallback, so shared-login
  events keep their real sender and are not subject to relay
  restrictions (reactions, membership etc. work normally).
- MatrixTyping and MatrixReadReceipt now carry UserMXID, filled by the
  portal handlers, because those events are dispatched on whichever
  login serves the user - which is one and the same login for everyone
  in shared-login mode.
- Bridge.GetCachedUserLoginByIDNoLock lets GetSharedLogin implementations
  resolve a stored login ID without re-acquiring the cache lock
  (FindPreferredLogin holds it when calling the hook).

mautrix-xmpp patch markers document the hook in FindPreferredLogin.
2026-11-08 19:19:53 +00:00
.github/workflows first commit 2026-11-08 20:53:38 +03:00
appservice first commit 2026-11-08 20:53:38 +03:00
beeperstream first commit 2026-11-08 20:53:38 +03:00
bridgev2 Add SharedLoginNetwork support for single-login networks 2026-11-08 19:19:53 +00:00
commands first commit 2026-11-08 20:53:38 +03:00
crypto first commit 2026-11-08 20:53:38 +03:00
event first commit 2026-11-08 20:53:38 +03:00
example first commit 2026-11-08 20:53:38 +03:00
federation first commit 2026-11-08 20:53:38 +03:00
format first commit 2026-11-08 20:53:38 +03:00
id first commit 2026-11-08 20:53:38 +03:00
mediaproxy first commit 2026-11-08 20:53:38 +03:00
mockserver first commit 2026-11-08 20:53:38 +03:00
oauth first commit 2026-11-08 20:53:38 +03:00
pushrules first commit 2026-11-08 20:53:38 +03:00
sqlstatestore first commit 2026-11-08 20:53:38 +03:00
synapseadmin first commit 2026-11-08 20:53:38 +03:00
.editorconfig first commit 2026-11-08 20:53:38 +03:00
.gitignore first commit 2026-11-08 20:53:38 +03:00
.pre-commit-config.yaml first commit 2026-11-08 20:53:38 +03:00
CHANGELOG.md first commit 2026-11-08 20:53:38 +03:00
client.go first commit 2026-11-08 20:53:38 +03:00
client_retry_test.go first commit 2026-11-08 20:53:38 +03:00
CONTRIBUTING.md first commit 2026-11-08 20:53:38 +03:00
error.go first commit 2026-11-08 20:53:38 +03:00
filter.go first commit 2026-11-08 20:53:38 +03:00
go.mod first commit 2026-11-08 20:53:38 +03:00
go.sum first commit 2026-11-08 20:53:38 +03:00
LICENSE first commit 2026-11-08 20:53:38 +03:00
oauth.go first commit 2026-11-08 20:53:38 +03:00
README.md first commit 2026-11-08 20:53:38 +03:00
requests.go first commit 2026-11-08 20:53:38 +03:00
responses.go first commit 2026-11-08 20:53:38 +03:00
responses_test.go first commit 2026-11-08 20:53:38 +03:00
room.go first commit 2026-11-08 20:53:38 +03:00
statestore.go first commit 2026-11-08 20:53:38 +03:00
sync.go first commit 2026-11-08 20:53:38 +03:00
syncstore.go first commit 2026-11-08 20:53:38 +03:00
url.go first commit 2026-11-08 20:53:38 +03:00
url_test.go first commit 2026-11-08 20:53:38 +03:00
version.go first commit 2026-11-08 20:53:38 +03:00
versions.go first commit 2026-11-08 20:53:38 +03:00
versions_test.go first commit 2026-11-08 20:53:38 +03:00

mautrix-go

GoDoc

A Golang Matrix framework. Used by gomuks, go-neb, mautrix-whatsapp and others.

Matrix room: #go:maunium.net

This project is based on matrix-org/gomatrix. The original project is licensed under Apache 2.0.

In addition to the basic client API features the original project has, this framework also has:

  • Appservice support (Intent API like mautrix-python, room state storage, etc)
  • End-to-end encryption support (incl. key backup, cross-signing, interactive verification, etc)
  • High-level module for building puppeting bridges
  • Partial federation module (making requests, PDU processing and event authorization)
  • A media proxy server which can be used to expose anything as a Matrix media repo
  • Wrapper functions for the Synapse admin API
  • Structs for parsing event content
  • Helpers for parsing and generating Matrix HTML
  • Helpers for handling push rules