gmessages/libgm/settings_handler.go

14 lines
307 B
Go
Raw Normal View History

package libgm
import (
"go.mau.fi/mautrix-gmessages/libgm/pblite"
"go.mau.fi/mautrix-gmessages/libgm/binary"
"go.mau.fi/mautrix-gmessages/libgm/events"
)
func (c *Client) handleSettingsEvent(res *pblite.Response, data *binary.Settings) {
evt := events.NewSettingsUpdated(data)
c.triggerEvent(evt)
}