etalab-ia / albert-tchap

Bot for Tchap (the messaging app of the French State) using Albert, the French administration Artificial Intelligence agent
MIT License
13 stars 1 forks source link

Send welcome message after bot has accepted to join a private conversation #51

Closed bolinocroustibat closed 5 months ago

bolinocroustibat commented 5 months ago

Since on some environments the bot doesn't join automatically on invite, we have to manually accept to join conversation when a user wants to chat with the bot.

The bot does not seem to send the welcome message when he is the one accepting to join the conversation later after being invited, or sometimes send a message which is not decrypted, maybe because we need to wait a bit after joining to establish the encryption before sending the message?

bolinocroustibat commented 5 months ago

PR: https://github.com/etalab-ia/albert-tchapbot/pull/52