forked from cwtch.im/cwtch
fmt
This commit is contained in:
parent
bd1ad4fc67
commit
be7721d02d
|
@ -2,6 +2,7 @@ package model
|
|||
|
||||
import (
|
||||
"crypto/rand"
|
||||
"errors"
|
||||
"fmt"
|
||||
"git.mascherari.press/cwtch/protocol"
|
||||
"github.com/golang/protobuf/proto"
|
||||
|
@ -10,7 +11,6 @@ import (
|
|||
"io"
|
||||
"sync"
|
||||
"time"
|
||||
"errors"
|
||||
)
|
||||
|
||||
//Group defines and encapsulates Cwtch's conception of group chat. Which are sessions
|
||||
|
@ -72,7 +72,6 @@ func (g *Group) Invite() ([]byte, error) {
|
|||
return invite, err
|
||||
}
|
||||
|
||||
|
||||
// AddMessage takes a DecryptedGroupMessage and adds it to the Groups Timeline
|
||||
func (g *Group) AddMessage(message *protocol.DecryptedGroupMessage, verified bool) *Message {
|
||||
g.lock.Lock()
|
||||
|
|
Loading…
Reference in New Issue