This commit is contained in:
Sarah Jamie Lewis 2019-07-31 15:35:35 -07:00
parent d13c53cc73
commit 10f892d10d
6 changed files with 30 additions and 33 deletions

View File

@ -76,7 +76,6 @@ func AppEventListener(gcd *gothings.GrandCentralDispatcher, subscribed chan bool
gcd.UpdateMyProfile(the.Peer.GetProfile().Name, the.Peer.GetProfile().Onion, cwutil.RandomProfileImage(the.Peer.GetProfile().Onion))
contacts := the.Peer.GetContacts()
for i := range contacts {
contact, _ := the.Peer.GetProfile().GetContact(contacts[i])

View File

@ -134,7 +134,6 @@ func (this *InterfaceState) AddMessage(m *gobjects.Message) {
// Ack message sent to group
this.parentGcd.Acknowledged(m.MessageID)
messages, _ := this.messages.Load(m.Handle)
messageList, _ := messages.([]*gobjects.Message)
this.messages.Store(m.Handle, append(messageList, m))
@ -155,7 +154,6 @@ func (this *InterfaceState) AddMessage(m *gobjects.Message) {
}
}
}
func (this *InterfaceState) GetMessages(handle string) []*gobjects.Message {