comparison sat/bridge/bridge_constructor/bridge_template.ini @ 2655:b8600f8130ac

core (bridge): new messageEncryptionStarted and messageEncryptionStopped signals (not used yet)
author Goffi <goffi@goffi.org>
date Sat, 11 Aug 2018 18:24:55 +0200
parents 712cb4ff3e13
children 4e130cc9bfc0
comparison
equal deleted inserted replaced
2654:e7bfbded652a 2655:b8600f8130ac
51 - thread_parent: id of the parent of the current thread 51 - thread_parent: id of the parent of the current thread
52 - received_timestamp: date of receiption for delayed messages 52 - received_timestamp: date of receiption for delayed messages
53 - delay_sender: entity which has originally sent or which has delayed the message 53 - delay_sender: entity which has originally sent or which has delayed the message
54 - info_type: subtype for info messages 54 - info_type: subtype for info messages
55 doc_param_8=%(doc_profile)s 55 doc_param_8=%(doc_profile)s
56
57 [messageEncryptionStarted]
58 type=signal
59 category=core
60 sig_in=sss
61 doc=A message encryption session has been started
62 doc_param_0=to_jid: JID of the recipient (bare jid if it's encrypted for all devices)
63 doc_param_1=encryption_data: [JSON_OBJ] data of the encryption algorithm used, encoded as a json object.
64 it always has the following keys:
65 - name: human readable name of the algorithm
66 - namespace: namespace of the encryption plugin
67 following keys are present if suitable:
68 - directed_devices: list or resource where session is encrypted
69 doc_param_2=%(doc_profile_key)s
70
71 [messageEncryptionStopped]
72 type=signal
73 category=core
74 sig_in=sa{ss}s
75 doc=A message encryption session has been stopped
76 doc_param_0=to_jid: JID of the recipient (full jid if it's only stopped for one device)
77 doc_param_1=encryption_data: data of the encryption algorithm stopped, has a least following keys:
78 - name: human readable name of the algorithm
79 - namespace: namespace of the encryption plugin
80 doc_param_2=%(doc_profile_key)s
56 81
57 [presenceUpdate] 82 [presenceUpdate]
58 type=signal 83 type=signal
59 category=core 84 category=core
60 sig_in=ssia{ss}s 85 sig_in=ssia{ss}s