reactions: use allowed reactions when possible
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
@@ -44,9 +44,15 @@ type TelegramClient struct {
|
||||
updatesManager *updates.Manager
|
||||
clientCancel context.CancelFunc
|
||||
|
||||
appConfigLock sync.Mutex
|
||||
appConfig map[string]any
|
||||
appConfigHash int
|
||||
|
||||
availableReactionsLock sync.Mutex
|
||||
availableReactions map[string]struct{}
|
||||
availableReactionsHash int
|
||||
availableReactionsFetched time.Time
|
||||
|
||||
telegramFmtParams *telegramfmt.FormatParams
|
||||
matrixParser *matrixfmt.HTMLParser
|
||||
|
||||
|
||||
Reference in New Issue
Block a user