mirror of
https://git.mills.io/saltyim/saltyim.git
synced 2024-06-28 17:51:04 +00:00
remove debugging
This commit is contained in:
parent
30d7330503
commit
f736b42a00
@ -67,8 +67,6 @@ func (h *Hello) connect(ctx app.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
log.Println("creating new client")
|
||||
|
||||
identity, err := GetIdentityFromState(ctx)
|
||||
if err != nil {
|
||||
//TODO: dialog?
|
||||
@ -86,12 +84,10 @@ func (h *Hello) connect(ctx app.Context) {
|
||||
h.client = client
|
||||
|
||||
go func() {
|
||||
log.Println("message reading entry")
|
||||
for msg := range client.Read(context.Background(), "", "") {
|
||||
log.Println("incoming message", msg)
|
||||
h.incomingMessage(ctx, msg)
|
||||
}
|
||||
log.Println("message reading exiting")
|
||||
}()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user