[
https://issues.apache.org/jira/browse/VYSPER-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876041#action_12876041
]
Bernd Fondermann commented on VYSPER-206:
-----------------------------------------
I'd like to propose the following improvements/changes:
+ Do not forward last-activity IQ GETs to the client. Do all handling by the
server.
+ let's not add extra logic to the PersistenceManager for finding out if
requester is authorized
Instead, we could quite easily derive this info using the RosterManager, e.g.
see PersistenceAvailabilityHandler + RosterUtils
+ let's re-use existing StorageProviders for recording a. login time, b. logout
time, c. last presence on logout, probably by adding methods to interface
UserAuthorization
+ to make this XEP work, we would need to add code to post login and post
logout. No hooks currently exist for doing that. We would need to take a closer
look where to best do that.
Many thanks for contributing!
> Implement XEP-0012: Last Activity
> ---------------------------------
>
> Key: VYSPER-206
> URL: https://issues.apache.org/jira/browse/VYSPER-206
> Project: VYSPER
> Issue Type: New Feature
> Components: extension
> Reporter: Joseph Sillitoe
> Attachments: namespaceuris_patch.txt, xep0012.tar.gz
>
>
> XEP-0012: Last Activity is an extension specified at
> http://xmpp.org/extensions/xep-0012.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.