Group Refactor Part 1 #399

Merged
sarah merged 4 commits from group_refactor into master 2021-11-01 21:44:58 +00:00
Owner

Remove SendMessage* calls in place of a unified interface
Remove Unack*Messages from Group and Store everything in the timeline

Remove SendMessage* calls in place of a unified interface Remove Unack*Messages from Group and Store everything in the timeline
dan was assigned by sarah 2021-10-31 19:13:45 +00:00
erinn was assigned by sarah 2021-10-31 19:13:45 +00:00
sarah added 1 commit 2021-10-31 19:13:46 +00:00
continuous-integration/drone/push Build is pending Details
continuous-integration/drone/pr Build is pending Details
3d2cafd1de
Group Refactor Part 1
Remove SendMessage* calls in place of a unified interface
Remove Unack*Messages from Group and Store everything in the timeline
sarah added 1 commit 2021-10-31 19:13:51 +00:00
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
fbfef2d907
Merge branch 'master' into group_refactor
sarah added 1 commit 2021-10-31 19:17:30 +00:00
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
ead6a2698f
JoinServer errors should result in Error log
Member
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/cwtch/439
Member
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/cwtch/437
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/440
Member
Drone Build Status: success https://build.openprivacy.ca/cwtch.im/cwtch/441
erinn approved these changes 2021-11-01 20:45:49 +00:00
dan approved these changes 2021-11-01 21:06:43 +00:00
model/group.go Outdated
@ -146,0 +143,4 @@
length := len(g.Timeline.Messages)
if len(g.Timeline.Messages) > index {
Owner

why not use "length" var

why not use "length" var
model/group.go Outdated
@ -146,2 +147,3 @@
return true, g.Timeline.Messages[index], length
}
return false
return false, Message{}, len(g.Timeline.Messages)
Owner

why not use "length" var?

why not use "length" var?
sarah added 1 commit 2021-11-01 21:10:10 +00:00
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
c62ecd6f71
Use length variable, Comment deprecation of GetOnion
Member
Drone Build Status: failure https://build.openprivacy.ca/cwtch.im/cwtch/443
sarah merged commit 126953f5ed into master 2021-11-01 21:44:58 +00:00
Sign in to join this conversation.
No description provided.