telematrix icon indicating copy to clipboard operation
telematrix copied to clipboard

Automatically create #telegram_.* rooms

Open vijfhoek opened this issue 8 years ago • 2 comments

This way, people can join without having the HS owner manually add the aliases

vijfhoek avatar Jan 10 '17 07:01 vijfhoek

These questions possibly fit the needs research label, but

  • What if the room is created accidentally e.g. by making Matrix Traveler join there?
  • Who has PL100 and owns the room?
  • How would someone at Matrix get PL100?
  • How would Telegram admin take action against Matrix/bridged problem user?

Mikaela avatar May 06 '17 07:05 Mikaela

I am working on a patch to get this to work. The idea is a single user is running a private homeserver and telematrix server. They wish to use Matrix instead of Telegram, so every message they send doesn't need their username prefixed. If anyone else sends a message in the room, their username is prefixed. I am accomplishing this with the following config addition:

    "bot_owners": [
      "@youruser:DOMAIN.TLD",
      "@youruser:matrix.org",
      "@youruser:example.com"
    ],

In __init__.py, every message is checked against bot_owners and a prefix is prepended iff they are not listed.

  • Who has PL100 and owns the room?

Every username in bot_owners is given PL100

  • How would Telegram admin take action against Matrix/bridged problem user?

They would not be able to. They'd have to block the bot entirely

I am not sure if Matrix allows creating a room without a user. If they don't, we could possibly create a @telegram_admin:homeserver.com that creates the room, invites bot_owners, then leaves.

stonewareslord avatar Feb 01 '18 21:02 stonewareslord