More minor changes

This commit is contained in:
Tulir Asokan
2018-01-29 22:21:58 +02:00
parent 5c5b8ac848
commit 6c9b31b0e9
2 changed files with 4 additions and 2 deletions

View File

@@ -78,7 +78,8 @@ The bridge does not do this automatically.
* [x] Inviting puppets
* [ ] Inviting Matrix users who have logged in to Telegram
* [ ] Kicking
* [ ] Joining/leaving
* [ ] Joining (once room aliases have been implemented)
* [ ] Leaving
* [ ] Room metadata changes
* Telegram → Matrix
* [x] Plaintext messages
@@ -115,7 +116,6 @@ The bridge does not do this automatically.
* [x] Private chat creation by inviting Matrix puppet of Telegram user to new room
* [ ] Option to use bot to relay messages for unauthenticated Matrix users
* [ ] Option to use own Matrix account for messages sent from other Telegram clients
* [ ] Joining public channels/supergroups using room aliases
* [ ] Joining chats with room aliases
* [ ] Name of public channel/supergroup as alias
* [ ] (Maybe) Invite link token as alias
@@ -129,3 +129,4 @@ The bridge does not do this automatically.
* [x] Creating a Telegram chat for an existing Matrix room (`create`)
* [ ] Upgrading the chat of a portal room into a supergroup (`upgrade`)
* [ ] Getting the Telegram invite link to a Matrix room (`invitelink`)
* [ ] Clean up and forget a portal room (`deleteportal`)

View File

@@ -199,6 +199,7 @@ class CommandHandler:
return self.reply("This command requires you to be logged in.")
force_remote = False
if args[0] in {"-r", "--remote"}:
force_remote = True
args.pop(0)
query = " ".join(args)
if len(query) < 5: