Version 1.9.0
This commit is contained in:
parent
3a60a1cfaa
commit
20e6d2558e
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@
|
|||
|
||||
COMMIT := $(shell git rev-parse --short HEAD)
|
||||
TD_COMMIT := "5bbfc1cf5dab94f82e02f3430ded7241d4653551"
|
||||
VERSION := "v1.9.0-dev"
|
||||
VERSION := "v1.9.0"
|
||||
MAKEOPTS := "-j4"
|
||||
|
||||
all:
|
||||
|
|
|
@ -48,6 +48,7 @@ func TestSessionToMap(t *testing.T) {
|
|||
Timezone: "klsf",
|
||||
RawMessages: true,
|
||||
OOBMode: true,
|
||||
Receipts: true,
|
||||
}
|
||||
m := session.ToMap()
|
||||
sample := map[string]string{
|
||||
|
@ -58,6 +59,8 @@ func TestSessionToMap(t *testing.T) {
|
|||
"oobmode": "true",
|
||||
"carbons": "false",
|
||||
"hideids": "false",
|
||||
"receipts": "true",
|
||||
"nativeedits": "false",
|
||||
}
|
||||
if !reflect.DeepEqual(m, sample) {
|
||||
t.Errorf("Map does not match the sample: %v", m)
|
||||
|
|
|
@ -16,7 +16,7 @@ import (
|
|||
goxmpp "gosrc.io/xmpp"
|
||||
)
|
||||
|
||||
var version string = "1.9.0-dev"
|
||||
var version string = "1.9.0"
|
||||
var commit string
|
||||
|
||||
var sm *goxmpp.StreamManager
|
||||
|
|
|
@ -158,7 +158,7 @@ func (c *Client) Connect(resource string) error {
|
|||
}
|
||||
|
||||
gateway.SubscribeToTransport(c.xmpp, c.jid)
|
||||
c.sendPresence(gateway.SPStatus("Logged in as: "+c.Session.Login))
|
||||
c.sendPresence(gateway.SPStatus("Logged in as: " + c.Session.Login))
|
||||
}()
|
||||
|
||||
return nil
|
||||
|
|
|
@ -1298,7 +1298,7 @@ func (c *Client) roster(resource string) {
|
|||
c.ProcessStatusUpdate(chat, "", "")
|
||||
}
|
||||
|
||||
c.sendPresence(gateway.SPStatus("Logged in as: "+c.Session.Login))
|
||||
c.sendPresence(gateway.SPStatus("Logged in as: " + c.Session.Login))
|
||||
|
||||
c.addResource(resource)
|
||||
}
|
||||
|
|
|
@ -520,9 +520,11 @@ func TestMessageToPrefix6(t *testing.T) {
|
|||
IsOutgoing: true,
|
||||
ReplyTo: &client.MessageReplyToMessage{
|
||||
ChatId: 41,
|
||||
Quote: &client.FormattedText{
|
||||
Quote: &client.TextQuote{
|
||||
Text: &client.FormattedText{
|
||||
Text: "tist\nuz\niz",
|
||||
},
|
||||
},
|
||||
Origin: &client.MessageOriginHiddenUser{
|
||||
SenderName: "ziz",
|
||||
},
|
||||
|
|
|
@ -24,6 +24,7 @@ type Reply struct {
|
|||
}
|
||||
|
||||
type MarkerType byte
|
||||
|
||||
const (
|
||||
MarkerTypeReceived MarkerType = iota
|
||||
MarkerTypeDisplayed
|
||||
|
|
Loading…
Reference in a new issue