MM-56201, MM-56280: Suppress typing and emoji events (#25794)

We do not send the typing event when the originating
channel is not the active channel or active channel thread.

https://mattermost.atlassian.net/browse/MM-56201

```release-note
NONE
```

Co-authored-by: harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
Этот коммит содержится в:
Agniva De Sarker
2024-02-22 08:36:24 +05:30
коммит произвёл GitHub
родитель 38bbf04e48
Коммит f5ee5463e4
23 изменённых файлов: 472 добавлений и 189 удалений

Просмотреть файл

@@ -49,7 +49,9 @@ type FeatureFlags struct {
CloudIPFiltering bool
ConsumePostHook bool
CloudAnnualRenewals bool
CloudAnnualRenewals bool
OutgoingOAuthConnections bool
WebSocketEventScope bool
}
func (f *FeatureFlags) SetDefaults() {
@@ -69,6 +71,8 @@ func (f *FeatureFlags) SetDefaults() {
f.CloudIPFiltering = false
f.ConsumePostHook = false
f.CloudAnnualRenewals = false
f.OutgoingOAuthConnections = false
f.WebSocketEventScope = false
}
// ToMap returns the feature flags as a map[string]string