-
I agree, this is a good one. I think the best way would be to somehow extract the logic on the server side and share it between our plugins for mobile optimizations and this XEP. So we can easily improve behavior server side without affecting clients and the protocol.
-
%kobit Good point. Right now I'm working on it to provide even simple support for 7.1. In fact I'm adjusting MobileV2 (and later maybe MobileV3) to new interface which will be used by CSI and will make it possible to change logic used by CSI. I suppose I will finish basic support for 7.1 tomorrow as I have version ready for testing.
-
Added support for XEP-0352: Client State Indication by adding new processor @ClientStateIndication@.
It is enabled by default in this version as I think it may be useful on many installations.
ClientStateIndication
processor is independent fromMobileV1@, @MobileV2
andMobileV3
which means it can be used without enabling this processors.All processors may be enabled on server at the same time, however it is not recommended for client to use more that 1 processor during single XMPP session.
By default it uses same logic as mobile optimization plugin
MobileV2
- which delays delivery of presences while client is in inactive state but keeps only last presence for each full jid.It is possible to use logic from
MobileV1
by adding following line toetc/init.properties
file:sess-man/plugins-conf/urn\:xmpp\:csi\:0/logic=tigase.xmpp.impl.MobileV1
MobileV3
logic is not supported by CSI processor at this point.%daniel Should I add information about this to documentation or you will add it?
Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
4244
|
Version |
tigase-server-7.1.0
|
Spent time |
0
|
While we were using internally developed optimizations for mobile devices, XEP-0352: Client State Indication was created.
I think this XEP is more and more important, while it leaves optimization methods up to server implementation. Due to that we could change optimizations we developed to use this protocol instead of our custom one to allow for easier usage and to add support for XEP-0352.