disable typing from xmpp to threema - broken package without id's

This commit is contained in:
Martin/Geno 2019-06-06 23:23:04 +02:00
parent e1585612fa
commit 9cb98c6cbc
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
1 changed files with 2 additions and 3 deletions

View File

@ -75,7 +75,6 @@ func (a *Account) sending(to string, msg xmpp.Message) (o3.Message, error) {
}).Debug("update status of threema message")
return drm, nil
}
if chatState {
tnm := o3.TypingNotificationMessage{}
if chatStateComposing {
@ -83,8 +82,8 @@ func (a *Account) sending(to string, msg xmpp.Message) (o3.Message, error) {
}
logger.WithFields(map[string]interface{}{
"state": chatStateComposing,
}).Debug("send typing")
return tnm, nil
}).Debug("not send typing")
return nil, nil
}
}