diff options
author | Alex Auvolat <alex@adnab.me> | 2020-10-04 21:20:22 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-10-04 21:20:22 +0200 |
commit | 07f9f640f0f18541760adb8746cd563a504d6609 (patch) | |
tree | 5e8bc029ace33b826d63546677096a65fc570732 /connector/connector.go | |
parent | 7130c7b7d6d0c4f49229df33825e2861eb463457 (diff) | |
download | easybridge-07f9f640f0f18541760adb8746cd563a504d6609.tar.gz easybridge-07f9f640f0f18541760adb8746cd563a504d6609.zip |
Looks like 2FA works in facebook messenger :o
Diffstat (limited to 'connector/connector.go')
-rw-r--r-- | connector/connector.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/connector/connector.go b/connector/connector.go index 55e0e34..0819bd7 100644 --- a/connector/connector.go +++ b/connector/connector.go @@ -71,6 +71,10 @@ type Connector interface { // in which case the backend is free to re-use the ID or select a new one. Send(event *Event) (string, error) + // Used to send user commands directly + // (first use case: receive 2-factor authentication codes) + UserCommand(string) + // Close the connection Close() } |