erinn
/
ui
forked from cwtch.im/ui
1
0
Fork 0

Merge branch 'bugfix' of erinn/bounce into master

This commit is contained in:
erinn 2018-11-28 20:59:32 +00:00 committed by Gogs
commit f5f28da7aa
1 changed files with 9 additions and 8 deletions

View File

@ -1,13 +1,13 @@
package gothings package gothings
import ( import (
"bounce/go/constants"
"bounce/go/gobjects"
"bounce/go/the"
"cwtch.im/cwtch/model" "cwtch.im/cwtch/model"
"encoding/base32" "encoding/base32"
"strings"
"log" "log"
"bounce/go/constants" "strings"
"bounce/go/the"
"bounce/go/gobjects"
) )
type InterfaceState struct { type InterfaceState struct {
@ -98,6 +98,7 @@ func (this *InterfaceState) AddMessage(m *gobjects.Message) {
c.Badge++ c.Badge++
this.UpdateContact(c.Handle) this.UpdateContact(c.Handle)
} }
the.CwtchApp.SaveProfile(the.Peer)
} }
func (this *InterfaceState) GetMessages(handle string) []*gobjects.Message { func (this *InterfaceState) GetMessages(handle string) []*gobjects.Message {