Files
mautrix-telegram/pkg/connector
Sumner Evans c82b273155 connector/reactions: return error if not logged in
Previously, the getAvailableReactions function was only called with a
logged in client. However, now that it is called in the GetCapabilities
call, the client is no longer guaranteed to be logged in.

This was causing an NPE due to the (*TelegramClient).client being nil.

This commit makes the getAvailableReactions function not panic when the
client is not logged in.

Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2025-01-13 21:28:26 -07:00
..
2024-07-09 14:04:25 -06:00
2024-11-21 16:32:40 -07:00
2025-01-07 22:56:32 -07:00
2024-07-09 14:04:49 -06:00
2024-10-14 14:09:08 -06:00
2024-06-20 18:42:09 -06:00
2025-01-10 21:17:10 +02:00
2025-01-10 21:17:10 +02:00
2024-09-14 12:50:31 +03:00
2024-12-02 13:56:25 -07:00
2024-12-04 15:21:55 -07:00
2025-01-10 21:17:10 +02:00
2025-01-10 21:17:10 +02:00
2024-10-07 16:32:48 -06:00