disable typing from xmpp to threema - broken package without id's
This commit is contained in:
parent
e1585612fa
commit
9cb98c6cbc
|
@ -75,7 +75,6 @@ func (a *Account) sending(to string, msg xmpp.Message) (o3.Message, error) {
|
||||||
}).Debug("update status of threema message")
|
}).Debug("update status of threema message")
|
||||||
return drm, nil
|
return drm, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if chatState {
|
if chatState {
|
||||||
tnm := o3.TypingNotificationMessage{}
|
tnm := o3.TypingNotificationMessage{}
|
||||||
if chatStateComposing {
|
if chatStateComposing {
|
||||||
|
@ -83,8 +82,8 @@ func (a *Account) sending(to string, msg xmpp.Message) (o3.Message, error) {
|
||||||
}
|
}
|
||||||
logger.WithFields(map[string]interface{}{
|
logger.WithFields(map[string]interface{}{
|
||||||
"state": chatStateComposing,
|
"state": chatStateComposing,
|
||||||
}).Debug("send typing")
|
}).Debug("not send typing")
|
||||||
return tnm, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue