Add caps to first presence

According to the XEP, caps hash has to be added to all presences
This commit is contained in:
Philipp Hörist 2017-11-15 22:28:57 +01:00
parent d5ddbe3766
commit 9f0154ef84
1 changed files with 1 additions and 0 deletions

View File

@ -2039,6 +2039,7 @@ ConnectionHandlersBase, ConnectionJingle, ConnectionIBBytestream):
p.setStatus(msg)
if signed:
p.setTag(nbxmpp.NS_SIGNED + ' x').setData(signed)
p = self.add_sha(p)
if self.connection:
self.connection.send(p)