diff --git a/groupsv2/groupsv2.go b/groupsv2/groupsv2.go index 423cfe7..a4f6438 100644 --- a/groupsv2/groupsv2.go +++ b/groupsv2/groupsv2.go @@ -229,7 +229,10 @@ func GetGroupV2MembersForGroup(group string) ([]*signalservice.DecryptedMember, if g == nil { return nil, fmt.Errorf("Group not found") } - g.UpdateGroupFromServer() + err := g.UpdateGroupFromServer() + if err != nil { + log.Debugln("[textsecure] could not update group from server") + } return g.DecryptedGroup.Members, nil } diff --git a/textsecure.go b/textsecure.go index b8c48c2..4a539fd 100644 --- a/textsecure.go +++ b/textsecure.go @@ -461,7 +461,7 @@ func registerDevice() error { func handleReceipt(env *signalservice.Envelope) { if client.ReceiptHandler != nil { - client.ReceiptHandler(env.GetSourceUuid(), env.GetSourceDevice(), env.GetServerTimestamp()) + client.ReceiptHandler(env.GetSourceUuid(), env.GetSourceDevice(), env.GetTimestamp()) } }