Matrix

3626 readers
4 users here now

An open network for secure, decentralized communication

founded 5 years ago
MODERATORS
1
 
 

When I try, I get a generic error saying "Unable to publish room, there was an error publishing this room."

2
3
4
5
6
7
8
9
 
 

I don't know who might need this in the future, but I'm setting up a bot account for my BT Free space. I've never done this before and I wanted to document it a bit for myself or anyone else that is interested in the future.

Make sure you have your home server information. This is just the URL, in my case it's https://matrix.org/.

Then I needed to get the room id that I want the bot to be a part of. You can get this via the room info - Settings - Advanced - Internal Room ID.

Then I need the Access Token for the user I want to use with my bot. In this case it's my new user I just created called btfree_bot. I did this through the Element Web UI (https://app.element.io/). Click the user in the upper left - All Settings - Help & About - Advanced - Access Token.

I attempted to get the access token via curl, but it kept failing. If anyone wants to let me know what I did wrong with the curl, at least it might help someone in the future. :-)

curl -XPOST -d '{"type": "m.login.password", "identifier": {"user": "btfree_bot", "type": "m.id.user"}, "password": "MYPASSWORD"}' "https://matrix.org/_matrix/client/r0/login"

EDIT: So the access token from the Element Web didn't work for us. Not sure why. But my friend figured out that we were missing the -H header to indicate json. Which makes sense. Here's the command we used to get the access token:

$ curl -XPOST -H "Content-Type: application/json" -d '{"type": "m.login.password", "identifier": {"user": "btfree_bot", "type": "m.id.user"}, "password": "-PASSWORD-"}' "https://matrix.org/_matrix/client/r0/login"

The instructions we had that missed the header -H part were from inside of Uptime Kuma. We're going to do a PR to have them update their docs.

10
 
 

Hey Lemmy!

Exactly as the title says.

I'm a user, not a server admin, so this is about deleting messages I've sent rather than cleaning old messages on a server. Ideally I'm looking for a script which I can run on a timer once a day, and each time it runs, it will delete all my messages, or my messages in some specified rooms, that are older than say two weeks. Basically an automated finger that presses the delete button repeatedly.

I know about m.room.retention but I don't want to have to set it for every room. And it doesn't seem to be reliable; it doesn't work in a matrix.org test room I set up with one minute retention. Even when I cleared the cache.

The closest I've found is this branch, but as this issue mentioned, it purges all messages rather than only messages older than X time.

If no one has a better script, I'll write one myself or fork the above script. But in case anyone here's already gone to the trouble... I won't have to learn the Matrix API :)


Edit 1:

I did make the script, but it's slow; each message deletion sent to matrix.org has to wait about 4 seconds due to rate limiting. I send a lot of messages per day, so it's barely an acceptable solution.

The whole concept also feels awkwardly inefficient because I have to send a request for each message, rather than the server and clients running their own timers.

I moved to Delta Chat for now, for its disappearing messages.

I found some nice comparison tables of instant messaging services that could be of use:

11
 
 

I set up a Cinny instance. If I link users directly to the Cinny instance it prompts them to create an account on my Matrix server but then they have to manually search for the space to join. If I grab the link directly to my space from Cinny, it links to matrix.to as an intermediary, which will prompt them to sign up with the matrix.org instance, which I DO NOT WANT. Is there no way to send an invite directly from/to my Cinny instance/space? You can only send invites via matrix.to?

12
 
 

id like to just hang out. like on mumble. but I'm using matrix now... anyone know of an active room or willing to join one?

13
 
 

Hi, folks! I've already create my own server for Matrix, and now I'm trying to set up Cinny for anyone can use my server from a browser.

But Cinny writes me:

Failed to connect. Homeserver configuration found with my homeserver name appears unusable.

When I'm trying to choose my server from a list.

Here's the config file of Cinny:

{
  "defaultHomeserver": 2,
  "homeserverList": [
    "my.server.org",
    "matrix.org"
  ],
  "allowCustomHomeservers": true,

  "featuredCommunities": {
    "openAsDefault": false,
    "spaces": [
      "#cinny-space:matrix.org",
      "#community:matrix.org"
    ],
    "rooms": [
      "#cinny:matrix.org"
    ],
    "servers": ["my.server.org", "matrix.org"]
  },

  "hashRouter": {
    "enabled": true,
    "basename": "/"
  }
}

But when I'm trying to use Cinny from it website - everything works fine. But when I'm trying to use this from my self-hosted variant - I gets this error.

So, what do I do wrong, people? 🤔

14
 
 

For a while, I was running a conduwuit server. Conduwuit has been abandoned, and I wanted to migrate my server to upstream Conduit.

Has anyone done this before? I'm using Docker Compose for Conduwuit.

15
6
submitted 2 months ago* (last edited 2 months ago) by snroh@lemm.ee to c/matrix@lemmy.ml
 
 

tried searching but came up short... anyone know what's their message retention policy i.e. how long is chat history available for private, 1on1 chats?

16
 
 

Reminder to all Homeserver admins!

More info can be found in the TWIM post from this week(as well as last week): https://matrix.org/blog/2025/03/21/this-week-in-matrix-2025-03-21/

Personally, I've successfully setup the backend and frontend for my own HS which works great, meaning we're fully independent from the Matrix.org server. Documentation for the process is much improved compared to a few months ago.

17
 
 

Signal has a "Note to Self" option which basically lets you send texts to yourself for reminders, etc. Is there a way to do this with any of the various Matrix clients, and if so how?

18
 
 

New Matrix user, eager to dive in. What is your preferred method/website for finding interesting servers and rooms?

19
20
21
22
23
24
 
 

I am facing a really weird issue with Element Call on my Matrix Dendrite server. It seems that only the person initiating the call can unmute and use videochat. The recipient of the call cannot talk even when unmuted or show video when enabled.

Nothing in the Dendrite container logs shows anything out of the oridinary.

I am using a machine that is running Ubuntu 20.04 with Docker and CasaoOS. I use Cloudflare Tunnels for my Matrix server. The client devices are both Google Pixel 8s running GrapheneOS. All of the proper settings for the app should be enabled (unrestricted battery).

Here is a picture of what the recipient of the call's video looks like to the person who initialized the call again no audio is present from the recipient either.

On very rare occasions have I gotten audio and video to work for both memebers of the call. It is very inconsistent. I am curious if this issue is in anyway related to the push notification issue I am also having.

Thank you so much for your help and time!

25
 
 

I was able to finally get sliding sync up and running with my dendrite server!

Element X and Schildichat next allow me to sign in with no "this server does not support sliding sync" error.

However these clients do not show my chats or rooms. If I try to create a room it will work but if I bavk out it will show a blank chat page.

If I go to the regular element client I can see the newly created chats from element x/schildi.

Any help would be appreciated!

Edit: sliding sync now works it was an error in my compose file for the url! I needed it to be set to my matrix url and not my sliding sync url.

view more: next ›