Ticket #3001 (closed defect: fixed)
various problem with entity caps
| Reported by: | misc | Owned by: | asterix |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.2 |
| Component: | xmpppy | Version: | svn |
| Severity: | normal | Keywords: | |
| Cc: | OS: | All |
Description
After looking at entity caps xep, ( http://www.xmpp.org/extensions/xep-0115.html ), It seems there is several thing badly implemented
- ftrans is not a plugin or something that can be disactivated, so there is no need to show this as a caps. the goal is to signal caps for this that can be different on different instance of the same cleint, and afaik, every gajim instance uunderstand filetransfert
- chatstates, on the other hand, can be disactivated, so this is dependant on the instance, hence being seen as a caps
- when a disco#info request is send, and the node attribute is set, node should be set on the response too, according to example in the xep
- capability should not be hardcoded in presence stanza, since the goal is to have different caps, based on configuration or plugins
- and node attribute should be set on get discovery request ( http://jabber.org/protocol/disco ), or I think so.
Here is a patch that fix all of this. ( and do some factorisation )
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
