mautrix / telegram

A Matrix-Telegram hybrid puppeting/relaybot bridge
https://matrix.to/#/#telegram:maunium.net
GNU Affero General Public License v3.0
1.3k stars 172 forks source link

pm chats are created as rooms sometimes #539

Closed karlprieb closed 3 years ago

karlprieb commented 3 years ago

Why pm chats are created as rooms sometimes? If I run the command pm @telegramHandler the bot answer with: Created private chat room with Name. But in fact the bot create a room. If I leave the room and run the same command again the bot create the private chat room as expected. Is there some configuration that I should look?

karlprieb commented 3 years ago

But sometime the bot create the right type of room on the first time. The same applies to when I receive some message from a pm on telegram that I still don't have on Matrix, sometime the bot automatically create a group room instead of a private chat room.

tulir commented 3 years ago

There isn't any actual difference between rooms and private chats and the bridge can't reliably set which one a room is. You can use sync_direct_chat_list to make the bridge set it in your account (requires double puppeting/login-matrix)