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:
|
2023-06-30 13:26:46 +00:00
|
|
|
c.Logger.Info().Any("type", bugleData.Data.Type).Msg("Updated sessionId to " + c.sessionHandler.sessionID + " due to BROWSER_ACTIVE alert")
|
2023-06-30 09:54:08 +00:00
|
|
|
case 6:
|
|
|
|
c.Logger.Info().Any("type", bugleData.Data.Type).Msg("USER_ALERT:BATTERY") // tf ?
|
|
|
|
}
|
|
|
|
}
|