matrix-appservice-twitter icon indicating copy to clipboard operation
matrix-appservice-twitter copied to clipboard

Initiating DMs

Open Half-Shot opened this issue 8 years ago • 0 comments

To do this, we need to react to invites from regular users to bot users. The bot will need to be able to detect when joining a room whether the conversation is a DM (where there is one real user) and a regular timeline invite (a feature proposed in #8).

We need to check the following:

  • Check the user is allowed to talk to the other user (and give an error if not)
  • Check a DM room doesn't already exist, and close if it does.

TODO:

  • [x] Refactoring DM code to it's own handler.
  • [ ] React to invitations to bot users.
  • [ ] Handle the cases above.

Half-Shot avatar Aug 31 '16 08:08 Half-Shot