Version 1.10.0

This commit is contained in:
Bohdan Horbeshko 2025-03-22 04:18:44 -04:00
parent f4d5ebc3ad
commit c5e41c7ce8
5 changed files with 8 additions and 8 deletions

View file

@ -2,7 +2,7 @@
COMMIT := $(shell git rev-parse --short HEAD)
TD_COMMIT := "5bbfc1cf5dab94f82e02f3430ded7241d4653551"
VERSION := "v1.10.0-dev"
VERSION := "v1.10.0"
MAKEOPTS := "-j4"
all:

View file

@ -16,7 +16,7 @@ import (
goxmpp "gosrc.io/xmpp"
)
var version string = "1.10.0-dev"
var version string = "1.10.0"
var commit string
var sm *goxmpp.StreamManager

View file

@ -48,7 +48,7 @@ type messageStub struct {
}
const (
typeFileDataSha1 byte = iota
typeFileDataSha1 byte = iota
typeFileDataBase64
)

View file

@ -465,7 +465,7 @@ func SendPubSubAvatarNotification(component *xmpp.Component, jid string, chatId
Id: sha1,
Any: &stanza.Node{
XMLName: xml.Name{Local: "metadata", Space: NodeAvatarMetadata},
Nodes: []stanza.Node{info},
Nodes: []stanza.Node{info},
},
},
},

View file

@ -505,7 +505,7 @@ func handleGetAvatarDataIq(s xmpp.Sender, iq *stanza.IQ, pubsub *stanza.PubSubGe
if len(pubsub.Items.List) > 0 {
id = pubsub.Items.List[0].Id
}
log.Infof("Avatar id %v for chat %v", id, iq.To);
log.Infof("Avatar id %v for chat %v", id, iq.To)
pubsubAnswer := stanza.PubSubGeneric{
Items: &stanza.Items{
@ -1005,9 +1005,9 @@ func handleSetQueryCommand(s xmpp.Sender, iq *stanza.IQ, command *stanza.Command
}
answer.Payload = &stanza.Command{
SessionId: command.Node,
Node: command.Node,
Status: stanza.CommandStatusCompleted,
SessionId: command.Node,
Node: command.Node,
Status: stanza.CommandStatusCompleted,
CommandElements: []stanza.CommandElement{
&stanza.Note{
Text: response,