gmessages/libgm/bugle_service.go

13 lines
422 B
Go
Raw Normal View History

2023-06-30 11:05:33 +00:00
package libgm
2023-06-30 09:54:08 +00:00
import "go.mau.fi/mautrix-gmessages/libgm/binary"
func (c *Client) handleBugleOpCode(bugleData *binary.BugleBackendService) {
switch bugleData.Data.Type {
case 2:
c.Logger.Info().Any("type", bugleData.Data.Type).Msg("Updated sessionId to " + c.sessionHandler.sessionId + " due to BROWSER_ACTIVE alert")
case 6:
c.Logger.Info().Any("type", bugleData.Data.Type).Msg("USER_ALERT:BATTERY") // tf ?
}
}