matrix

package
v0.0.0-...-6e2970e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2025 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadMedia

func DownloadMedia(ctx context.Context, mxcURL id.ContentURI) (io.ReadCloser, error)

func Start

func Start(ctx context.Context, onEvent mautrix.EventHandler) error

func Stop

func Stop(ctx context.Context)

func UpdateMXIDForUser

func UpdateMXIDForUser(ctx context.Context, user *db.User, newMXID pgtype.Text) error

func UserProfile

func UserProfile(ctx context.Context, mxid string) (*mautrix.RespUserProfile, error)

UserProfile retrieves the user profile for the given Matrix ID (mxid).

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL