Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0166.py @ 1585:846a39900fa6
plugins XEP-0096, XEP-0260, file: sendFile method is managed by file plugin, which choose the best available method + progress_id fix
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 14 Nov 2015 19:18:05 +0100 |
parents | 268fda4236ca |
children | 1ced93821c35 |
comparison
equal
deleted
inserted
replaced
1584:b57b4683dc33 | 1585:846a39900fa6 |
---|---|
273 - senders(unicode): One of XEP_0166.ROLE_INITIATOR, XEP_0166.ROLE_RESPONDER, both or none | 273 - senders(unicode): One of XEP_0166.ROLE_INITIATOR, XEP_0166.ROLE_RESPONDER, both or none |
274 default to BOTH (see XEP-0166 §7.3) | 274 default to BOTH (see XEP-0166 §7.3) |
275 - app_args(list): args to pass to the application plugin | 275 - app_args(list): args to pass to the application plugin |
276 - app_kwargs(dict): keyword args to pass to the application plugin | 276 - app_kwargs(dict): keyword args to pass to the application plugin |
277 @param profile: %(doc_profile)s | 277 @param profile: %(doc_profile)s |
278 @return D(unicode): jingle session id | |
278 """ | 279 """ |
279 assert contents # there must be at least one content | 280 assert contents # there must be at least one content |
280 client = self.host.getClient(profile) | 281 client = self.host.getClient(profile) |
281 initiator = client.jid | 282 initiator = client.jid |
282 sid = unicode(uuid.uuid4()) | 283 sid = unicode(uuid.uuid4()) |