Upgrade Dependencies + Clean up Groups #350

Merged
dan merged 5 commits from upgrade into master 2021-05-04 20:24:21 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit fce22d48a2 - Show all commits

View File

@ -433,6 +433,7 @@ func (cp *cwtchPeer) InviteOnionToGroup(onion string, groupid string) error {
cp.mutex.Lock()
group := cp.Profile.GetGroup(groupid)
if group == nil {
cp.mutex.Unlock()
return errors.New("invalid group id")
}
invite, err := group.Invite()